Skip to content

How can I bump patch version? #64

Answered by PaulHatch
vitalii-dubovoi asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @vitalii-dubovoy, no problem. What you need to do is mark the release. The next release after the tag will be incremented. If it isn't a major or minor release, it will be a "patch" type by default.

Think of it in terms of being a customer/consumer of your project; as a customer if I'm on version 1.0.0 I'd expect it to go to 1.0.1, 1.1.0, or 2.0.0. If I see 1.0.2 I'm gonna think I missed a version. In general in most build systems incrementing on every build is trivial, but it creates these gaps whenever a version with more than one commit is released, so that's the purpose of this action. A lot of small projects do get released as a new version on every commit, so for those cases the…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vitalii-dubovoi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants