mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-04 13:08:04 -05:00
Currently, this just allows us to remove the donation button on Google Play without using the deprecated installer APIs. In the future, this should allow us to also release multiple versions of Catima (for example: WearOS is a commonly requested feature, but this needs non-free dependencies, which may not be okay to all users).
14 lines
1020 B
Markdown
14 lines
1020 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 the new .apks: `KEYSTORE=/path/to/keystore KEYSTORE_ALIAS=catima ./build.sh`
|
|
7. Upload `app/build/outputs/apk/gplay/release/app-gplay-release.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/build/outputs/apk/foss/release/app-foss-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>`
|