macos-package-app: Run patch_version only on Travis

This is handled separately for Github Actions
This commit is contained in:
Philipp Wolfer
2019-11-26 14:37:53 +01:00
parent c4f9ced825
commit bb809846e6

View File

@@ -1,8 +1,7 @@
#!/usr/bin/env bash
set -e
if [ -z "$TRAVIS_TAG" ]
then
if [ -z "$TRAVIS_TAG" ] && [ -n "$TRAVIS_OSX_IMAGE" ]; then
python3 setup.py patch_version --platform=osx.$TRAVIS_OSX_IMAGE
fi
VERSION=$(python3 -c 'import picard; print(picard.__version__)')