|
|
|
|
|
by anonymous_sorry
1486 days ago
|
|
> One complexity with that that comes to mind is how do you then track whether you've already bumped minor/major since last release and so don't need to again? I wonder if it really matters that release version numbers only increment by one. If not, just bump anyway when appropriate change is made - no need to check. In practice I think the problems would be
a) having to be very disciplined about this on every commit, rather than having a reminder to consider it as part of a release process, and
b) ordering version numbers from different branches when merging to mainline |
|
Or you could bump every time as you describe, but on every major/minor bump make sure the parent commit is released first (which would be >=1 commits since the last one and have at least a patch bump). And I suppose you'd never need to bump patch if that was just a lone thing that happened post-release in prep for the next.