Commit 996406f7 authored by Wilko Manger's avatar Wilko Manger

Use build number as version code

It's incremented by 123 because that was the
latest released version code of the old app,
meaning that for updates it needs to be higher
than 123.
parent c2b5785b
Pipeline #313 passed with stages
in 2 minutes and 20 seconds
......@@ -16,7 +16,7 @@ build:
- tags
- 'echo "version: ${CI_COMMIT_REF_NAME:1}" >> pubspec.yaml'
- 'echo "version: ${CI_COMMIT_REF_NAME:1}+$((123 + $CI_PIPELINE_IID))" >> pubspec.yaml'
- echo "$STORE" | base64 -d > android/app/pattle.keystore
- flutter build apk
- mv build/app/outputs/apk/release/app-release.apk pattle.apk
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment