use woodpecker to automate version bumping

This commit is contained in:
2024-03-06 16:17:28 -06:00
committed by Map
parent 2a096a2d09
commit 452f67ff97
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ steps:
image: debian
commands:
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_TAG}/g" game/options.rpy #Change the internal build name to the tagged version
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_TAG}/g" android.json
when:
- event: tag
@@ -18,6 +19,7 @@ steps:
image: debian
commands:
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_SHA}/g" game/options.rpy #if no tag, make it the commit num
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_SHA}/g" android.json
when:
- event: cron

View File

@@ -20,5 +20,5 @@
"update_always": true,
"update_icons": true,
"update_keystores": true,
"version": "1.0.11"
}
"version": "INTERNAL-BUILD"
}