File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,10 @@ jobs:
218
218
zip -9 -r samm-cli-windows.zip samm.exe *.dll lib/
219
219
220
220
# Full release: Maven Central
221
+ # The (apparently) only way to retrieve the staging profile id
222
+ # is the undocumented rc-list-profiles command of the
223
+ # nexus-staging-maven-plugin:
224
+ # mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:rc-list-profiles -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh
221
225
- name : Release to OSSRH/Maven Central
222
226
if : ${{ !contains( github.event.inputs.release_version, '-M' ) }}
223
227
run : |
@@ -228,7 +232,7 @@ jobs:
228
232
-DnexusUrl=https://oss.sonatype.org/ \
229
233
-DserverId=ossrh \
230
234
-DrepositoryDirectory=nexus-staging \
231
- -DstagingProfileId=org.eclipse.esmf
235
+ -DstagingProfileId=7e73217781f2e
232
236
env :
233
237
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
234
238
OSSRH_TOKEN : ${{ secrets.OSSRH_TOKEN }}
You can’t perform that action at this time.
0 commit comments