Stop unnecessary TestFlight builds (#2323)

This commit is contained in:
Devin Binnie
2022-10-26 15:12:44 -04:00
committed by GitHub
parent 54c76d5dd6
commit a29528f1fd

View File

@@ -393,6 +393,14 @@ jobs:
name: Patch version number for MAS
command: ./scripts/patch_mas_version.sh
- run: npm run package:mas
- run:
name: Don't submit unless it's on a tag or it's the nightly build
command: |
if [ -z `git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null` ]; then
if [ `git rev-parse --abbrev-ref HEAD` != "nightly" ]; then
circleci-agent step halt
fi
fi
- run:
name: 'Upload to App Store Connect'
command: fastlane publish_test path:"$(find . -name \*.pkg -print -quit)"