forked from Cavemanon/IWaniHugThatGator-Demo-Public
use woodpecker to automate version bumping
This commit is contained in:
@@ -11,6 +11,7 @@ steps:
|
|||||||
image: debian
|
image: debian
|
||||||
commands:
|
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" 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:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
@@ -18,6 +19,7 @@ steps:
|
|||||||
image: debian
|
image: debian
|
||||||
commands:
|
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" game/options.rpy #if no tag, make it the commit num
|
||||||
|
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_SHA}/g" android.json
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
|
|
||||||
|
@@ -20,5 +20,5 @@
|
|||||||
"update_always": true,
|
"update_always": true,
|
||||||
"update_icons": true,
|
"update_icons": true,
|
||||||
"update_keystores": true,
|
"update_keystores": true,
|
||||||
"version": "1.0.11"
|
"version": "INTERNAL-BUILD"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user