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