Skip to content

GitVersion Conversion #486

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

You must be logged in to vote

@AshleighAdams in answer to your first question, the answer is similar to this one — #488 (comment). The behaviour, as far as I can remember has never changed. This was the design from the start.

Regarding your second question, checking the version for the presence of - should work as long as their is no build metadata, which could also contain -. To be absolutely safe, I would first split the string on + and then check for the presence of - in the first substring.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AshleighAdams
Comment options

Answer selected by AshleighAdams
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