ajoberstar / reckon

Infer a project's version from your Git repository.
Apache License 2.0
187 stars 28 forks source link

[Question] Increment further when +-rc.* version on different branch #59

Closed mathiasmaerker closed 6 years ago

mathiasmaerker commented 6 years ago

Hi there, sorry if I ask this question, I am rather new to SemVer, so maybe Stackoverflow would be a better place to ask, but because I am evaluation this plugin, I hope you don't mind the question.

Assuming I have a current version of 0.2.0-rc.1 in branch release/0.2.0

and wile this release is prepared, which may take some time for testing etc. an other Team should work on next feature iterations but here it seems to me that this is not possible because until I have a final version(0.2.0) only the -rc. versions are incremented and maybe I am developing new features which should result in 0.3.0-milestone even while 0.2.0-rc. isn't released.

Or am I just totally not understanding SemVer and the whole process?

Kind regards Mathias

ajoberstar commented 6 years ago

Yes the approach you're talking about should work (both for SemVer in general and reckon).

Rough scenario of what I think you're describing (which should work in this plugin):

Let me know if you have further questions.

mathiasmaerker commented 6 years ago

I just tested it, seems fine to me. Thank you so much for your time and effort Regards Mathias