Skip to content

Commit

Permalink
Create RELEASING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xizzhu committed May 24, 2020
1 parent f0c13a5 commit a520e14
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/RELEASING.md
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).

0 comments on commit a520e14

Please sign in to comment.