ci: adopt release-please for automated versioning and Maven Central publishing - #301
Draft
emaarco wants to merge 2 commits into
Draft
ci: adopt release-please for automated versioning and Maven Central publishing#301emaarco wants to merge 2 commits into
emaarco wants to merge 2 commits into
Conversation
…ublishing Replace the manual git-flow release (push-to-master deploy + milestone release notes) with release-please: Conventional Commits on develop drive a rolling Release PR that bumps the poms + CHANGELOG and, on merge, cuts the GitHub Release and deploys to Maven Central in the same run.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #301 +/- ##
==========================================
Coverage 50.65% 50.65%
Complexity 80 80
==========================================
Files 40 40
Lines 458 458
Branches 9 9
==========================================
Hits 232 232
Misses 221 221
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
@zambrovski - drafted, how a release would look like with release-please. Would then:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adopt release-please for Conventional-Commit-driven releases and move Maven Central publishing into the release pipeline. Trunk becomes
develop;masteris retired.What changes
feat:/fix:ondevelop→ release-please keeps a rolling Release PR (bumps all 3 poms +CHANGELOG.md); merging it cuts the GitHub Release + tag and deploys to Maven Central in the same run.masterdeploy (master.yml) and milestone-based release notes (release-notes.yml).1.8.0), derived from commit types. poms move1.8-SNAPSHOT→1.7.0baseline that release-please owns.CHANGELOG.mdadded, seeded with the full history of the 25 existing GitHub Releases (which stay untouched); release-please prepends new versions.pr-title.yml; Dependabot commits are nowchore-prefixed.Before merge (why draft)
Requires a GitHub App token via
vars.RELEASE_PLEASE_APP_CLIENT_ID+secrets.RELEASE_PLEASE_APP_PRIVATE_KEY— the defaultGITHUB_TOKENcannot trigger CI on the Release PR. The release job fails at the token step until the App is configured.Verified locally:
mvnw validate→ BUILD SUCCESS; all YAML/JSON valid.