mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-02 12:07:53 -05:00
AGP 8.3 includes the commit hash in the build metadata, so for the official build to be reproducible it needs to be on the same commit as third-party builds. This commit reorders the instructions to ensure I will create the commit before building and thus fixes an RB failure in AGP 8.3+.
14 lines
925 B
Markdown
14 lines
925 B
Markdown
**This documentation is for maintainers. If you're a user, please ignore it.**
|
|
|
|
# When releasing, do the following:
|
|
1. Press "Commit" and "Push" on Weblate to ensure all translations are up to date
|
|
2. Merge Weblate pull request
|
|
3. Update `CHANGELOG.md` with the new version name and the release date
|
|
4. Update `app/build.gradle.kts` with the new `versionCode` and `versionName`
|
|
5. Create a commit for the new release: `git add CHANGELOG.md app/build.gradle.kts && git commit -m "Release Catima <VERSION>"`
|
|
6. Build a new .apk: `KEYSTORE=/path/to/keystore KEYSTORE_ALIAS=catima ./build.sh`
|
|
7. Upload the APK to Google Play Open Testing
|
|
8. Push the version update commit: `git push`
|
|
9. Create a new release on GitHub and attach the `app-release.apk` and `SHA256SUMS` files
|
|
10. After the release has been approved on Google Play Production, update the metadata there: `bundle exec fastlane supply --version_code <VERSION_CODE>`
|