Skip to content

Fix closeAndRelease task name for Sonatype Central Portal - #12

Merged
johnsonlee merged 1 commit into
mainfrom
fix/close-and-release-task-name
Apr 11, 2026
Merged

johnsonlee merged 1 commit into
mainfrom
fix/close-and-release-task-name

Conversation

@johnsonlee

Copy link
Copy Markdown
Owner

Summary

  • Fix closeAndReleaseRepository → closeAndReleaseSonatypeStagingRepository in publish workflow
  • The migration to Central Portal (f6b0fc0) configured the nexus repository as sonatype, but the workflow still used the old generic task name
  • gradle-nexus.publish-plugin v2.0.0 names tasks as closeAndRelease{RepoName}StagingRepository

Test plan

  • Re-tag v2.0.0-rc1 to trigger the publish workflow and verify it completes successfully

🤖 Generated with Claude Code

The migration to Sonatype Central Portal (f6b0fc0) changed the nexus
publishing repository name to "sonatype", but the workflow still used
the old task name `closeAndReleaseRepository`. The gradle-nexus
publish-plugin v2.0.0 names tasks as `closeAndRelease{RepoName}StagingRepository`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@johnsonlee
johnsonlee merged commit cede448 into main Apr 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant