Skip to content

Remove GitVersion_PreReleaseTagWithDash from GitVersion_SemVer Value #3714

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

You must be logged in to vote

I'm actually not sure if you are extending/inheriting from the GitHubFlow/v1 workflow or specifying a complete new workflow. If the second case is true you should define the workflow property to an empty string workflow: '' to have no base configuration.

Anyway in your scenario you could of course define a new branch configuration with the name production. Because the label is set to an empty string you get a pre-release with an empty label. If you set it to null you will get no pre-release versions.

Edit: Empty and null strings have a different meaning here.

Edit: If you want to reuse the configuration of main you can do this by just changing the regex property:

workflow: 'GitHubFlow/v1'
l…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@BenB196
Comment options

@HHobeck
Comment options

Answer selected by HHobeck
@BenB196
Comment options

@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