From 1d4ad79cba557ecb5ff82775aa8b9b5dbf4ce5ca Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Wed, 8 Mar 2023 13:59:41 -0500 Subject: [PATCH] Allow MAS build to be repeated more easily (#2595) --- scripts/patch_mas_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/patch_mas_version.sh b/scripts/patch_mas_version.sh index cf844be5..11c1c823 100755 --- a/scripts/patch_mas_version.sh +++ b/scripts/patch_mas_version.sh @@ -9,8 +9,8 @@ if [ "$BUILD_VERSION" == "" ]; then BUILD_VERSION=$STABLE_VERSION fi -if [ "$CIRCLE_BUILD_NUM" != "" ]; then - BUILD_VERSION=$CIRCLE_BUILD_NUM +if [ "$GITHUB_RUN_ID" != "" ]; then + BUILD_VERSION="${GITHUB_RUN_ID}${GITHUB_RUN_ATTEMPT}" fi temp_file="$(mktemp -t electron-builder.json)"