Skip to content

Need variable with just pre-release number #729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
heaths opened this issue Dec 5, 2015 · 3 comments
Closed

Need variable with just pre-release number #729

heaths opened this issue Dec 5, 2015 · 3 comments

Comments

@heaths
Copy link

heaths commented Dec 5, 2015

In some places a dotted quad is necessary, such as 1.2.3.4. Since GitVersion only cares about 1.2.3, it would be great to have a variable that had all 4 numbers or even just (or both?) the incremental commit delta (i.e. 4 in this example) so we can generate dotted quads as needed.

@heaths
Copy link
Author

heaths commented Dec 5, 2015

To clarify, I know that BuildMetaData exists and does this depending on, it seems, one's assembly-versioning-scheme but having a variable that is just the numeric portion regardless of settings provides maximum flexibility.

@JakeGinnivan
Copy link
Contributor

Did you want to submit a PR with this extra variable?

@JakeGinnivan
Copy link
Contributor

Created a PR which combines this and another issue which was the other part of the pre-release tag. PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants