46 lines
1.7 KiB
YAML
46 lines
1.7 KiB
YAML
# storebound flow "release" for a game: one version on both stores, up to your Submit click.
|
|
# storebound flow run release VERSION=1.2.0 reads run, writes run as dry runs (nothing changes)
|
|
# storebound flow run release VERSION=1.2.0 --apply writes run for real; each command still asks you first
|
|
# storebound flow run release --resume --apply continue after fixing a failed step
|
|
# Steps are storebound commands (no "storebound" prefix). `if: apple` / `if: play` skip a store the config does not
|
|
# have; `owner:` steps are never run, they list what you click. `sh:` runs your own build command (only with --apply).
|
|
description: Build, upload and check one game version on both stores, then your Submit click
|
|
params:
|
|
VERSION: "1.0.0"
|
|
steps:
|
|
- id: shots
|
|
if: exists store/renders
|
|
run: shots 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: play-build
|
|
if: play
|
|
run: play build --version-name ${VERSION}
|
|
- id: play-upload
|
|
if: play
|
|
run: play upload --track internal
|
|
- id: whats-new
|
|
if: exists store/whats-new
|
|
run: whats-new apply
|
|
- id: listing
|
|
if: apple
|
|
run: apple listing --version ${VERSION} --build ${BUILD}
|
|
- id: validate
|
|
run: validate
|
|
- id: scan
|
|
run: scan
|
|
- id: plan
|
|
run: release plan ${VERSION}
|
|
- id: submit
|
|
owner: "App Store Connect: Submit for Review (version ${VERSION}, build ${BUILD}). Play Console: promote the internal release and Send changes for review"
|