Skip to content

PreRelease overrides keeps adding ".0" #796

Answered by adamralph
iampluque asked this question in Q&A
Discussion options

You must be logged in to vote

The 0 is the pre-release "number". That is, you don't want to be restricted to a single pre-release, since it's likely you will want a 1st pre-release (1.0.1.PR.1), a 2nd pre-release (1.0.1.PR.2) etc. The "0th" pre-release is not one that you will release. It's just a way of versioning the interim builds between an RTM and your next pre-release.

E.g. your commits might be versioned as follows:

  • 0.0.0.PR.0 (root commit)
  • 0.0.0.PR.0.1
  • 0.0.0.PR.0.2
  • 1.0.0.PR.1 (tagged and released)
  • 1.0.0.PR.1.1
  • 1.0.0.PR.1.2
  • 1.0.0.PR.2 (tagged and released)
  • 1.0.0.PR.2.1
  • 1.0.0.PR.2.2
  • 1.0.0 (tagged and released)
  • 1.0.1.PR.0.1 <-- this is the version you are currently seeing
  • 1.0.1.PR.0.2
  • 1.0.1.PR.1 (tagged and rele…

Replies: 6 comments 9 replies

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 adamralph
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
9 replies
@rafntor
Comment options

@rafntor
Comment options

@adamralph
Comment options

@rafntor
Comment options

@adamralph
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #428 on August 13, 2022 18:23.