Skip to content

Conversation

@magnusp
Copy link
Contributor

@magnusp magnusp commented Mar 3, 2025

This change adds a ChangesetsVersionPolicy that can be used with Maven Release to set and progress versions as part of the release executions. The change maintains backward compatability, where a flag useReleasePluginIntegration signals that changesets should only do changeset processing (+ bump VERSION file). In cases where a branch is used to prepare a release the goal execution would be changesets:prepare release:prepare - one added benefit is that Maven Release will correctly tag a commit and push that tag to the branch. The actual release can then be pointed to by tag instead of a commit reference or HEAD.

@magnusp magnusp requested a review from niklasga as a code owner March 3, 2025 11:57
Copy link
Contributor

@niklasga niklasga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌟

@magnusp magnusp force-pushed the changeset-version-policy branch from 573fac0 to 5059eed Compare March 11, 2025 14:03
@magnusp magnusp merged commit 62a521b into main Mar 11, 2025
5 checks passed
@magnusp magnusp deleted the changeset-version-policy branch March 11, 2025 14:06
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.

3 participants