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)"