Skip to content

Commit

Permalink
Tweak RELEASING.md instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
darronschall committed Sep 6, 2024
1 parent 4f876f9 commit 79b02c8
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions RELEASING.md
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)

0 comments on commit 79b02c8

Please sign in to comment.