Closed houserx-jmcc closed 1 year ago
If you only have 1 commit, wouldn't it make more sense to fix the commit message instead?
You can also set patchAll
to true for the same behavior...
If you only have 1 commit, wouldn't it make more sense to fix the commit message instead?
Well, that is a simple hypothetical example :) I can go into more details if you'd like, but the request is still to have a backstop default of "patch" as an option.
You can also set patchAll to true for the same behavior...
Per my reading of the docs, doesn't this then not allow minor or major versions?
No, it means that anything that is not major or minor will be counted as patch.
Ah! That is perfect then. I misunderstood it, thanks for clarifying!
This may be an edge case, but there are some situations where we want to force a version increment even when no matching commits found. For example, we have only one commit being tracked and there is a typo in it, so it does not resolve to a version bump.
We still would release the commit in this case, so an option to default to a patch version bump when "noVersionBumpBehavior" is true would be really handy for edge cases.