Skip to content

Central releases publish themselves once validated - #14

Merged
adamjohnwright merged 1 commit into
mainfrom
central/auto-publish
Nov 28, 2026
Merged

adamjohnwright merged 1 commit into
mainfrom
central/auto-publish

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

Releases to Maven Central now publish once Central validates the upload, with no second step in the Portal.

  • The POMs' deploy profile (bom-parent, reactome-parent, reactome-pwp-parent) gains autoPublish true, waitUntil published and waitMaxTime 3600 s. The deploy waits until the release is live, so one that fails to publish fails the job. And the BOMs' deploy finishes publishing before the parent's begins, so the parent never reaches Central ahead of the BOM it imports.
  • Libraries using reactome-parent inherit the same settings, so reactome-parent goes to 1.0.8. The BOMs are unchanged and stay at the versions already on Central, so tagging v1.0.8 uploads only reactome-parent.
  • The maven-central environment's approval is still required before anything is uploaded. It becomes the last point at which a release can be stopped.
  • CI: a new step checks that a child's deploy settings include both values. Run before this change, the same commands find neither value, so the step fails. The README and the workflow's header describe the new flow.

🤖 Generated with Claude Code

autoPublish and waitUntil=published in the three POMs' deploy profile, so a release
goes live once Central validates it, with no second step in the Portal, and the job
fails if it does not. The BOMs' deploy finishes publishing before the parent's starts.
Libraries using reactome-parent inherit the same, so reactome-parent goes to 1.0.8.
CI checks a child's deploy settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit 00157a4 into main Nov 28, 2026
2 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