-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Releasing | ||
========= | ||
|
||
1. Bump the app version code in `Configurations.kt`. | ||
2. Update the `docs/CHANGELOG.md`. | ||
3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) | ||
4. `git tag -a X.Y.Z -m "vX.Y.Z"` (where X.Y.Z is the new version) | ||
5. `./gradlew clean assembleRelease` | ||
6. `git push && git push --tags` | ||
|
||
We use [Semantic Versioning](https://semver.org/). | ||
|
||
Prerequisites | ||
------------- | ||
|
||
Create a `keystore.properties` file at project's root folder: | ||
``` | ||
KEYSTORE_FILE=<keystore file> | ||
KEYSTORE_PASSWORD=<keystore password> | ||
KEY_ALIAS=<key alias> | ||
KEY_PASSWORD=<key password> | ||
``` | ||
|
||
More about app signing can be found [here](https://developer.android.com/studio/publish/app-signing). |