diff --git a/fastlane/metadata/android/README.md b/fastlane/metadata/android/README.md index 46cc7441d..934ba4658 100644 --- a/fastlane/metadata/android/README.md +++ b/fastlane/metadata/android/README.md @@ -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 +## 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` \ No newline at end of file +`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