wave icon indicating copy to clipboard operation
wave copied to clipboard

Semantic release preview on PRs

Open martimalek opened this issue 1 year ago • 1 comments

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.

martimalek avatar Feb 05 '24 09:02 martimalek

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.

nlopin avatar Feb 05 '24 12:02 nlopin