From 56473c23566d08636504538b24013aa4ca1c3849 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Sat, 15 Apr 2023 15:52:17 +1000 Subject: [PATCH] Use the GitHub Actions run number --- pkg/osx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/osx/build.sh b/pkg/osx/build.sh index f4dfe53..fee5be8 100755 --- a/pkg/osx/build.sh +++ b/pkg/osx/build.sh @@ -26,8 +26,8 @@ if [ ! -e "$HOOK" ]; then exit 1 fi -if [ -n "$TRAVIS_BUILD_NUMBER" ]; then - VERSION="$VERSION.$TRAVIS_BUILD_NUMBER" +if [ -n "$GITHUB_RUN_NUMBER" ]; then + VERSION="$VERSION.$GITHUB_RUN_NUMBER" fi if [ -e /Volumes/Bipolar ]; then