Skip to content

Commit c4042e7

Browse files
committed
Fix Nexus staging profile id
1 parent fa97aaf commit c4042e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release-workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ jobs:
218218
zip -9 -r samm-cli-windows.zip samm.exe *.dll lib/
219219
220220
# 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
221225
- name: Release to OSSRH/Maven Central
222226
if: ${{ !contains( github.event.inputs.release_version, '-M' ) }}
223227
run: |
@@ -228,7 +232,7 @@ jobs:
228232
-DnexusUrl=https://oss.sonatype.org/ \
229233
-DserverId=ossrh \
230234
-DrepositoryDirectory=nexus-staging \
231-
-DstagingProfileId=org.eclipse.esmf
235+
-DstagingProfileId=7e73217781f2e
232236
env:
233237
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
234238
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)