Skip to content

Ending up with non-semver semver in 6.0-beta2 #3609

Answered by HHobeck
NetTecture asked this question in Q&A
Discussion options

You must be logged in to vote

From my understanding git version does exactly what you have specified. You are ending up with this semantic version because:

  1. The semantic-version-format has been set to Strict
  2. The label-prefix has been set to [vV]
  3. The label has been set to {BranchName} aka useBranchName
  4. The increment has been set to None

Customizing workflows is a task which should be only an option if you have advanced experience with git version. For the beginning I would recommend you to use the standard supported git hub or git flow workflow: https://gitversion.net/docs/learn/branching-strategies/gitflow/examples

Happy branching!

Edit:
{major}. -> 0.
{minor}. -> 0.
{patch}- -> 0-
{pre-release-label}. -> 0-6-preview.

Replies: 3 comments 1 reply

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 HHobeck
Comment options

You must be logged in to vote
1 reply
@HHobeck
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
2 participants
Converted from issue

This discussion was converted from issue #3608 on June 26, 2023 05:36.