Update release steps

This commit is contained in:
Roland Geider
2022-05-10 14:46:27 +02:00
parent aa536408e8
commit 46ad19dd45

View File

@@ -1,4 +1,6 @@
# Dry-run release before uploading
# Release process
## 1. Dry-run release before uploading
* Increase build nr in pubspec.yaml
* `flutter build appbundle --release`
@@ -7,13 +9,22 @@
It might be necessary to repeat these steps if upload_to_play_store returns any errors
such as a missing title or similar.
# Accepted language codes
Also note that if a language was added over the weblate UI, it might be necessary
to set the correct language code:
<https://support.google.com/googleplay/android-developer/answer/9844778?hl=en#zippy=%2Cview-list-of-available-languages>
https://support.google.com/googleplay/android-developer/answer/9844778?hl=en#zippy=%2Cview-list-of-available-languages
## 2. Push tags to trigger release
# Push tags to trigger release
Make sure that the commit that will be tagged was already pushed or didn't change
any dart code, otherwise the automatic linter might push a "correction" commit
and the build step will fail.
Set the vX.Y.Z tag here, push it and delete it, since it gets re-created by github actions
to just X.Y.Z
Set the vX.Y.Z tag locally, push it and delete it. It will get recreated to X.Y.Z.
by github actions.
`TAG=vX.Y.Z && git tag $TAG && git push origin $TAG && git tag -d $TAG`
`TAG=vX.Y.Z && git tag $TAG && git push origin $TAG && git tag -d $TAG`
## 3. Edit release
I necessary, edit the created release on github