Skip to content
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

Handle development version increments according to SemVer specification #93

Merged
merged 4 commits into from
Jul 11, 2022

Conversation

bastidest
Copy link
Contributor

As stated in SemVer 2.0.0 §4, breaking changes in development versions (0.y.z) are indicated by a patch or minor version increment. Currently this project treats development versions the same as stable versions.

This PR changes the version increment behavior for development versions by never updating the major version in development versions.

Before

0.1.0 + BREAKING CHANGE = 1.0.0

After

0.1.0 + BREAKING CHANGE = 0.2.0

I also added some basic tests to validate this behavior.

@bastidest bastidest changed the title Handle development version increments according to Handle development version increments according to SemVer specification Jul 10, 2022
@qoomon
Copy link
Owner

qoomon commented Jul 11, 2022

Oh I wasn't aware of that. Thx a lot. I'll release a new version.

@qoomon qoomon merged commit 8226d92 into qoomon:master Jul 11, 2022
@qoomon
Copy link
Owner

qoomon commented Jul 11, 2022

Done. Version 1.2.3. Thanks again.

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.

None yet

2 participants