-
Notifications
You must be signed in to change notification settings - Fork 106
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
pre-release
options stops major version bump
#207
Comments
pre-release
options stops major version bumpspre-release
options stops major version bump
I think when using pre-releases everything becomes a patch version? I'm not 100% sure here what the correct flow is. Maybe @DevScyu can tell you more as he also build the functionality. |
That does seem to be the case, judging by this line and the function it is calling:
I'm not sure if this is desired? |
More intuitive way seems to be that pre-release is the same as a following release. So the main (non-prerelease part of a pre-release tag) should follow same rules as the release one. E.g. 2.0.0-rc.0 # is a release candidate for upcoming one This should be a pretty valid use-case as well: As preparing next release it may include just a bug fix, then introduce a feature and suddenly it may be that it's not possible to release without breaking changes. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When the option
pre-release
is set to true, it seems to be ignoring breaking changes.My commit message was as following:
The expected behaviour would be that the exclamation mark triggers a breaking change and thus a major version bump.
This was managed with the suggested solution in #231.
I have two actions using this action, a releaser and a pre-releaser.
Configuration
Releaser:
Pre-releaser:
Logs
Pre-eleaser (was run first):
Releaser:
As the logs of the pre-releaser suggest, the exclamation mark does trigger a major version increase, but it uses a patch increase anyway:
Whereas the releaser prints basically the same logs but does actually bumps the major version.
What gives?
The text was updated successfully, but these errors were encountered: