-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
4f876f9
commit 79b02c8
Showing
1 changed file
with
11 additions
and
18 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 |
---|---|---|
@@ -1,37 +1,30 @@ | ||
# Releasing | ||
|
||
1. Update `version` in `gradle.properties` to the release version. | ||
1. Submit a PR with the following changes (see e.g. #4): | ||
* Update `version` in `gradle.properties` to the release version. | ||
* Update the `CHANGELOG.md`. Create a section for the new version and move the unreleased version there | ||
* Update the `README.md` as necessary reflect the new release version number. | ||
|
||
2. Update the `CHANGELOG.md`. | ||
|
||
3. Update the `README.md` to reflect the new release version number. | ||
|
||
4. Commit | ||
|
||
``` | ||
$ git commit -am "Prepare version X.Y.Z" | ||
``` | ||
|
||
5. Tag | ||
2. Once merged, pull latest into main locally. Tag version: | ||
|
||
``` | ||
$ git tag -am "Version X.Y.Z" X.Y.Z | ||
``` | ||
|
||
6. Push! | ||
3. Push tags: | ||
|
||
``` | ||
$ git push && git push --tags | ||
$ git push --tags | ||
``` | ||
|
||
7. Create GitHub Release | ||
4. Create GitHub Release | ||
1. Visit the [New Releases](https://github.com/collectiveidea/oauth-kmp/releases/new) page. | ||
2. Supply release version and changelog | ||
2. Supply release version and changelog link | ||
|
||
8. Publish (runtime) | ||
5. Publish | ||
|
||
``` | ||
$ ./gradlew publish | ||
``` | ||
|
||
9. Visit [Sonatype Nexus](https://s01.oss.sonatype.org) and promote the artifact. | ||
6. Visit [Sonatype Nexus](https://s01.oss.sonatype.org) and promote the artifact. (Close the staging repository, then Release it) |