storebound/templates/profiles/app/workflows/beta.yml

36 lines
1.1 KiB
YAML

# storebound flow "beta": a TestFlight / internal testing build for your testers.
# storebound flow run beta VERSION=1.2.0 [--apply]
description: Next build to TestFlight and Play internal testing
params:
VERSION: "1.0.0"
GROUP: "Internal"
steps:
- id: check
run: check
- id: next-build
if: apple
run: apple next-build
capture: BUILD
- id: build
if: apple
run: apple build --version ${VERSION} --build-number ${BUILD}
- id: upload
if: apple
run: apple upload --no-wait --build ${BUILD} --allow-existing
- id: wait
if: apple
run: apple testflight wait --build ${BUILD} --version ${VERSION}
- id: what-to-test
if: apple
run: apple testflight what-to-test --build ${BUILD}
- id: distribute
if: apple
run: apple testflight distribute --build ${BUILD} --group ${GROUP}
- id: play-build
if: play
run: play build --version-name ${VERSION}
- id: play-upload
if: play
run: play upload --track internal
- id: external
owner: "External testers: storebound apple testflight distribute --build ${BUILD} --group <external group> --submit-review (Beta App Review is your call)"