Skip to content

Commit

Permalink
Update RELEASING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarCoelho authored Feb 2, 2023
1 parent 794525c commit fea5272
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,23 @@ Prerequisites
Release to Maven Central
-------------

1. Do the following tasks:
1. Do the following tasks sequentially:
* Update the RELEASE_NOTES.md for the impending release
* Make sure the javadocs generation does not have any errors: `mvn javadoc:javadoc`
* Make sure the MO Testbeds are passing

2. Update the versions of the pom files. Example, from: 9.0-SNAPSHOT to: 9.0
`git commit -am "Updates the project versions to X.Y"`
* Update the versions of ALL the pom files. Example, from: 9.0-SNAPSHOT to: 9.0
* Delete the local ~/.m2/repository and make sure that the project can be built from scratch

3. Compile the projects with sources and javadocs (and enter your GPG Passphrase when prompted) and deploy to OSSRH (Maven Central):
2. Compile the projects with sources and javadocs (and enter your GPG Passphrase when prompted) and deploy to OSSRH (Maven Central):
```
mvn clean deploy -P release
```

4. Inspect the staging repository in the Nexus Repository Manager [here][oss]
3. Inspect the staging repository in the Nexus Repository Manager [here][oss]
* Release it if everything looks alright
* Or Drop it if there are errors

5. Tag the release in GitHub
4. Tag the release in GitHub


Extra
Expand All @@ -74,4 +73,3 @@ Complete Maven Central publishing guide available [here][sonatype_guide]!
[example]: https://square.github.io/okio/releasing/#prerequisite-gpg-keys
[gnupg_guide]: https://central.sonatype.org/publish/requirements/gpg/
[oss]: https://oss.sonatype.org/#stagingRepositories

0 comments on commit fea5272

Please sign in to comment.