Stop unnecessary TestFlight builds (#2323)
This commit is contained in:
@@ -393,6 +393,14 @@ jobs:
|
|||||||
name: Patch version number for MAS
|
name: Patch version number for MAS
|
||||||
command: ./scripts/patch_mas_version.sh
|
command: ./scripts/patch_mas_version.sh
|
||||||
- run: npm run package:mas
|
- 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:
|
- run:
|
||||||
name: 'Upload to App Store Connect'
|
name: 'Upload to App Store Connect'
|
||||||
command: fastlane publish_test path:"$(find . -name \*.pkg -print -quit)"
|
command: fastlane publish_test path:"$(find . -name \*.pkg -print -quit)"
|
||||||
|
Reference in New Issue
Block a user