Skip to content

ci(java): publish releases through the Central Publisher Portal API - #2195

Draft
ramakrishnap-nv wants to merge 1 commit into
mainfrom
java-publish-portal-api
Draft

ramakrishnap-nv wants to merge 1 commit into
mainfrom
java-publish-portal-api

Conversation

@ramakrishnap-nv

@ramakrishnap-nv ramakrishnap-nv commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Sonatype asked projects to move from the legacy ossrh-staging-api to the Publisher API. This changes the Java release path.

  • The signed bundle zip is uploaded with one POST /api/v1/publisher/upload as a USER_MANAGED deployment, then polled until VALIDATED. Publishing is still a manual step in the Portal UI.
  • The per-file staging upload, handoff and open-repository checks are removed.
  • The profile-id input and option are removed, since the Publisher API has no staging profile.

The nightly snapshot path already uses the Portal snapshot repository, so it is unchanged.

Tested against a mock Portal server (both auto-drop modes). Not yet run against the real service, since the release path only runs on tags.
The same change for the upstream workflow is in rapidsai/shared-workflows#665. This vendored copy can be dropped once that ships.

🤖 Generated with Claude Code

The release path uploaded files one by one through the legacy
ossrh-staging-api compatibility service and then handed the staging
repository to the Portal. Sonatype asked projects to move to the
Publisher API.

Upload the signed bundle zip with POST /api/v1/publisher/upload as a
USER_MANAGED deployment, then poll status as before. Publishing is still
a manual step in the Portal UI.

The staging profile id has no meaning in the Publisher API, so drop the
profile-id input and option.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Ramakrishna Prabhu <ramakrishnap@nvidia.com>
@ramakrishnap-nv ramakrishnap-nv added this to the 26.12 milestone Oct 21, 2026
@ramakrishnap-nv ramakrishnap-nv added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Oct 21, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant