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: docs/RELEASE_PROCESS.md
+27-13Lines changed: 27 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,14 +89,16 @@ You need:
89
89
90
90
### Required Secrets (Already Configured)
91
91
92
-
The following secrets must be configured in GitHub repository settings:
92
+
The following secrets must be configured in GitHub repository settings. The GitHub Actions workflows automatically map these secrets to the environment variables required by the build:
93
93
94
-
| Secret Name | Description | Where to Get |
95
-
|-------------|-------------|--------------|
96
-
|`NEXUS_USERNAME`| Central Portal username/token |https://central.sonatype.com/ → Generate User Token |
97
-
|`NEXUS_PASSWORD`| Central Portal password/token |https://central.sonatype.com/ → Generate User Token |
98
-
|`GPG_PRIVATE_KEY`| PGP private key for signing | Your PGP keyring |
99
-
|`GPG_PASSPHRASE`| PGP key passphrase | Your PGP key passphrase |
94
+
| GitHub Secret Name | Maps to Environment Variable | Description | Where to Get |
|`NEXUS_USERNAME`|`CENTRAL_PORTAL_USERNAME`| Central Portal username/token |https://central.sonatype.com/ → Generate User Token |
97
+
|`NEXUS_PASSWORD`|`CENTRAL_PORTAL_PASSWORD`| Central Portal password/token |https://central.sonatype.com/ → Generate User Token |
98
+
|`GPG_PRIVATE_KEY`|`SIGNING_PGP_PRIVATE_KEY`| PGP private key for signing | Your PGP keyring |
99
+
|`GPG_PASSPHRASE`|`SIGNING_PGP_PASSPHRASE`| PGP key passphrase | Your PGP key passphrase |
100
+
101
+
**Note**: When publishing manually (outside of GitHub Actions), you must export the environment variable names shown in the second column (e.g., `CENTRAL_PORTAL_USERNAME`, not `NEXUS_USERNAME`).
100
102
101
103
## Release Workflow
102
104
@@ -121,7 +123,7 @@ This is the simplest approach - artifacts are automatically published to Maven C
121
123
The workflow will:
122
124
123
125
1. ✅ **Validate Gradle wrapper** (security check)
124
-
2. ✅ **Set up JDK 17** (required for building and nmcp plugin)
126
+
2. ✅ **Set up JDK 21** (required for building and nmcp plugin)
125
127
3. ✅ **Build all artifacts** (testng.jar, sources, javadoc)
126
128
4. ✅ **Sign artifacts** with PGP key
127
129
5. ✅ **Upload to Central Portal**
@@ -181,7 +183,7 @@ This approach uploads artifacts to Central Portal but waits for you to manually
181
183
The workflow will:
182
184
183
185
1. ✅ **Validate Gradle wrapper** (security check)
184
-
2. ✅ **Set up JDK 17** (required for building and nmcp plugin)
186
+
2. ✅ **Set up JDK 21** (required for building and nmcp plugin)
185
187
3. ✅ **Build all artifacts** (testng.jar, sources, javadoc)
186
188
4. ✅ **Sign artifacts** with PGP key
187
189
5. ✅ **Upload to Central Portal**
@@ -292,13 +294,15 @@ If you need to manually publish a snapshot:
292
294
--stacktrace
293
295
```
294
296
295
-
**Required environment variables**:
297
+
**Required environment variables** (see the [Required Secrets](#required-secrets-already-configured) table):
0 commit comments