Skip to content

Commit 56bc42b

Browse files
Update maintainers_guide.md
1 parent 546a759 commit 56bc42b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/maintainers_guide.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ Refer to the [README](https://github.com/slackapi/java-slack-sdk/blob/main/docs/
8484

8585
#### Prerequisites
8686

87-
Place `$HOME/.m2/settings.xml` with your Sonatype account information.
87+
* If you don't have `gnu-sed`, run `brew install gnu-sed` & `brew install gnupg`
88+
* Make sure you've set up your key https://central.sonatype.org/publish/requirements/gpg/
89+
* Make sure the account you are using has the permission to make releases [under com.slack groupId](https://central.sonatype.com/publishing/com.slack/users)
90+
91+
Place `$HOME/.m2/settings.xml` with your Sonatype account information.
92+
* Generate user token: https://central.sonatype.org/publish/generate-token/
93+
* Set the user token id/password: https://central.sonatype.org/publish/publish-manual/#signing-components
8894

8995
```xml
9096
<settings>
@@ -115,7 +121,7 @@ Place `$HOME/.m2/settings.xml` with your Sonatype account information.
115121
* `git switch main && git pull origin main`
116122
* Make sure there are no build failures at https://github.com/slackapi/java-slack-sdk/actions
117123
* Set a new version
118-
* If you don't have `gnu-sed`, run `brew install gnu-sed` & `brew install gnupg` first
124+
* If you don't have `gnu-sed`, check out [Prerequisites](#prerequisites)
119125
* Run `scripts/set_version.sh (the version)` (e.g., `scripts/set_version.sh 1.0.0`)
120126
* Ship the libraries
121127
* Switch to **JDK 17** to publish all modules (on macOS, you can run `export JAVA_HOME=$(/usr/libexec/java_home -v 17)` for it)

0 commit comments

Comments
 (0)