wave
wave copied to clipboard
Semantic release preview on PRs
Describe the feature you'd like
We use semantic-release to automatically release new library versions when a PR is merged to main
.
From time to time we've had some unexpected versions released due to having created commits with the wrong type. It would be interesting to have a way to preview the version number that semantic release will use before we merge to the branch.
I've started making some tries in PR #414 through a Github Action.
Describe alternatives you've considered
This is not a must so we don't need to do it, but it would avoid confusion on certain releases.
We can also consider a semi-automatic approach when a release is triggered manually. We keep a changeset using https://github.com/changesets/changesets and publish it when we think it makes sense.