Skip to content

add github action for version releases to Sonatype #996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shijiesheng
Copy link
Member

@shijiesheng shijiesheng commented May 1, 2025

What changed?

  • added a github action release.yaml on push-tag and manual triggers (For safety, currently it's only auto-push-to-staging-and-close mode and requires manual release on sonatype)
  • added gralde nexus plugin
  • bump version to 3.12.7-SNAPSHOT

Plan:
after it's tested against some version upgrade, we can switch mode to auto-release

Why?

Releasing requires PGP key access + sonatype access. These overheads slow down the release process

How did you test it?

Tested nexus plugin locally on staging repository
Test with act locally

act -j release --secret-file dummy
...
[Release to Maven Central/release]   ✅  Success - Main Publish to Sonatype OSSRH (Maven Central) [2m0.223553458s]
[Release to Maven Central/release] ⭐ Run Complete job
[Release to Maven Central/release] Cleaning up container for job release
[Release to Maven Central/release]   ✅  Success - Complete job
[Release to Maven Central/release] 🏁  Job succeeded

Screenshot 2025-05-01 at 3 12 35 PM

Potential risks

Release notes

Documentation Changes

@shijiesheng
Copy link
Member Author

integration test failed due to cadence-workflow/cadence#6881

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