jbweston / miniver

Like Versioneer, but smaller
Creative Commons Zero v1.0 Universal
53 stars 10 forks source link

Consistent handling of dev releases #58

Open slavoutich opened 1 year ago

slavoutich commented 1 year ago

This is related to issue #16.

I believe that the default behaviour for numbering releases. For example, if I release version 0.2.0 but don't push the next release tag automatically, versions for the next pushed commits would be 0.2.0.devX, which is incorrect: 0.2.1.devX or 0.3.0.devX or 0.3.devX would make more sense. Probably first would be the most sane default, if dev tag is not pushed explicitly.

slavoutich commented 1 year ago

Also question: is there a good reason why you suggest to push X.(Y+1)-dev tag after release instead of, say X.Y.(Z+1)-dev or X.(Y+1).0-dev (in the case of semver)? Is there any style guide on it?