Skip to content

Commit 7148b18

Browse files
authored
Add release management docs (#509)
add release management docs
1 parent d0020a0 commit 7148b18

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

contributing.md

+22
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,25 @@ To generate new screenshots, run the **gradle task**:
4040
To verify the implementation matches the recorded screenshots, run
4141

4242
`./gradlew :ui:verifyPaparazziDebug`
43+
44+
## Release management
45+
46+
### Next release's version
47+
48+
The next release version is auto-resolved by the merged pull requests. After each push to main branch, there is a workflow that considers merged PRs since the last release and bumps/changes the next version if needed.
49+
50+
PRs can be labeled with `semver:major`, `semver:minor` or `semver:patch` labels. The workflow considers the "biggest" needed bump. If there are no labeled PRs, it uses a minor version bump by default.
51+
52+
The workflow also updates the next "drafted" release with the proper version title and description (list of merged PRs). Those PRs are grouped by labels like `feature`, `bug` or `chore`.
53+
54+
### Releasing the next version
55+
56+
1. Edit the drafted release at https://github.com/kiwicom/orbit-compose/releases.
57+
2. Make edits in the description — if needed.
58+
3. Press "Publish release" button.
59+
60+
This action will:
61+
- publish the GitHub release,
62+
- tag the latest commit with the appropriate git tag,
63+
- build the commit and publish the libraries to Maven's staging & auto-promote it to the public,
64+
- build the catalog app and upload it to the GitHub release and publish it automatically on Google Play.

0 commit comments

Comments
 (0)