storebound/templates/workflows/beta.yml

37 lines
1.2 KiB
YAML

# storebound flow "beta" for a game: a playtest build on TestFlight and Play internal testing.
# storebound flow run beta VERSION=1.2.0 [--apply]
description: Next game build to TestFlight and Play internal testing
params:
VERSION: "1.0.0"
GROUP: "Playtesters"
steps:
- id: check
run: check
- id: ads
if: exists ios
run: ads scan --ios ios
continueOnError: true
- 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: 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 playtesters: storebound apple testflight distribute --build ${BUILD} --group <external group> --submit-review (Beta App Review is your call)"