I made some breaking changes to one of my package and consequently incremented the version number of 0.1 instead of 0.0.1, but this is not recognized as such by the bot so now my pull request has to be merged manually. What did I do wrong?
1.1.2 skips over 1.1.0
breaking change will need to be
2.0.0 since right now you have:
Can I just modify the
project.toml to 1.1.0 and create another pull request or will this create issues?
yes, fix it and re-tag the bot
Thanks, this worked.
1.1.0 was tagged as a minor release though, is this normal?
read SemVer. If you want to signify it is super breaking, just register
If you have version X.Y.Z with X>0, then
- Step Z if your change is backwards compatible and doesn’t add new features. This is typically bugfixes, performance improvements and documentation changes. It’s called a patch release.
- Step Y if your change is backwards compatible and adds new features. This is called a minor release.
- Step X if your change is not backwards compatible, i.e. breaks existing code. This is called a major release or a breaking release.
All concepts of features and backwards compatibility is with respect to a public API, which you may or may not have defined explicitly.
What should imo be added here is that stepping anything but the last part of the version number sets all lower parts to 0.
1.2.0when stepping the minor version
2.0.0when stepping the major version.