Skip to content

Release: CD portal promotion fix for Maven Central publishing - #24

Merged
RZEROSTERN merged 2 commits into
masterfrom
develop
Oct 1, 2026
Merged

RZEROSTERN merged 2 commits into
masterfrom
develop

Conversation

@RZEROSTERN

Copy link
Copy Markdown
Contributor

Summary

Brings the Central Portal promotion fix (#23) into master so release runs actually surface a deployment to publish.

What changed

  • CD workflow (.github/workflows/cd.yml): after the signed Gradle upload, the publish job now queries the OSSRH staging API for open staging repositories and promotes each one to the Central Portal (publishing_type=user_managed). Previously the upload stayed in an open staging repository the Portal never displays, which is why the green v1.0.0 run published nothing. The job fails loudly if there is nothing to promote.
  • Docs (docs/{en,es,fr,pt}/ci.md): the continuous-deployment section and its flow diagram now describe the promotion step.

The Portal Publish button remains the final release gate — nothing goes public automatically.

After merging

  1. Re-run the CD workflow from the Actions tab (Run workflow on master). It re-uploads the 1.0.0 artifacts and promotes the staging repository, making the deployment visible in the Portal. No new tag is needed; VERSION_NAME is still 1.0.0.
  2. Go to central.sonatype.com → Publish → Deployments, wait for validation and press Publish to release v1.0.0 to Maven Central.

Testing

🤖 Generated with Claude Code

RZEROSTERN and others added 2 commits October 1, 2026 10:00
The Gradle upload to the OSSRH staging API lands in an open staging
repository that never appears in the Central Portal, so there was
nothing to publish after a release run. The publish job now calls the
staging API's manual endpoint to promote every open repository as a
user-managed deployment, keeping the final Publish button as the
release gate. The CI docs in all four languages describe the new step.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
fix: promote the staging repository to the Central Portal during CD
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Unit test coverage

Overall Project 83.51% 🍏

There is no coverage information present for the Files changed

@RZEROSTERN
RZEROSTERN merged commit 30c91dc into master Oct 1, 2026
4 checks 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