You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/maintainers_guide.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,13 @@ Refer to the [README](https://github.com/slackapi/java-slack-sdk/blob/main/docs/
84
84
85
85
#### Prerequisites
86
86
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
88
94
89
95
```xml
90
96
<settings>
@@ -115,7 +121,7 @@ Place `$HOME/.m2/settings.xml` with your Sonatype account information.
115
121
*`git switch main && git pull origin main`
116
122
* Make sure there are no build failures at https://github.com/slackapi/java-slack-sdk/actions
117
123
* 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)
119
125
* Run `scripts/set_version.sh (the version)` (e.g., `scripts/set_version.sh 1.0.0`)
120
126
* Ship the libraries
121
127
* 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