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: RELEASING.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,14 @@ your OSSRH (OSS Repository Hosting) account and signing keys.
38
38
checkstyle.ignoreFailures=false
39
39
```
40
40
41
-
Note: If your key-generation is failing, checkout the [help section](#help-timeout-during-key-generation-process) at the bottom of this document.
41
+
> [!TIP]
42
+
> If your key-generation is failing, checkout the [help section](#help-timeout-during-key-generation-process) at the bottom of this document.
42
43
43
44
### Using GPG-Agent for artifact signing
44
45
46
+
> [!NOTE]
47
+
> These instructions are for modern linux where `gpg` refers to the 2.0 version.
48
+
45
49
If you're running in linux and would like to use the GPG agent to remember your PGP key passwords instead of keeping them in a plain-text file on your home directory,
46
50
you can configure the following in `<your-home-directory>/.gradle/gradle.properties`:
47
51
@@ -50,10 +54,13 @@ you can configure the following in `<your-home-directory>/.gradle/gradle.propert
50
54
signing.gnupg.keyName=<secret key id (large hash)>
Note: This may not work so if after adding this, the `./gradlew candidate` task fails citing 401 errors, try adding back the `ossrhUsername` & `ossrhPassword` fields back.
53
58
54
-
Note: these instructions are for modern linux where `gpg` refers to the 2.0 version. This may not work so if after adding this, the `./gradlew candidate` task fails citing 401 errors, try adding back the `ossrhUsername` & `ossrhPassword` fields back.
59
+
> [!IMPORTANT]
60
+
> Starting June 2024, due to a change to the OSSRH authentication backend, the maven publish plugin now requires [a user token](https://central.sonatype.org/publish/generate-token/) instead of a typical username and password used in the Nexus UI.
61
+
> Follow the steps in the [link](https://central.sonatype.org/publish/generate-token/) to generate a user token, if not done already - this will provide you with a `tokenuser` and `tokenkey`. Replace the `ossrhUsername` and `ossrhPassword` with this `tokenuser` and `tokenkey` in your `gradle.properties` file to successfully publish artifacts.
55
62
56
-
### Ensuring you can push tags to Github upstream
63
+
### Ensuring you can push tags to GitHub upstream
57
64
58
65
Before any push to the upstream repository you need to create a [personal access
0 commit comments