-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move release instructions to their own file
- Loading branch information
Showing
2 changed files
with
26 additions
and
29 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Release process | ||
|
||
```bash | ||
mvn versions:set -DnewVersion=<NEW-VERSION> | ||
``` | ||
|
||
Commit and tag the version. Then push and create a **GitHub release**. | ||
|
||
Finally, publishing to Nexus and Maven Central is **automatically triggered by creating a GitHub release** using GitHub Actions. | ||
|
||
```bash | ||
mvn versions:set -DnewVersion=<NEW-VERSION With Minor +1 and -SNAPSHOT> | ||
``` | ||
|
||
Commit and push. | ||
|
||
## GitHub Actions Requirements | ||
|
||
Publish requires following secrets: | ||
|
||
* `OSSRH_USERNAME` the Sonatype username | ||
* `OSSRH_TOKEN` the Sonatype token | ||
* `OSSRH_GPG_SECRET_KEY` the gpg private key used to sign packages | ||
* `OSSRH_GPG_SECRET_KEY_PASSWORD` the gpg private key password | ||
|
||
These are stored in GitHub organisation's secrets. |