Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a few properties for easier processing at the command line #235

Merged
merged 1 commit into from
Oct 20, 2018

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Oct 19, 2018

The properties (excluding the NBGV_ prefix) are:

  1. VersionMajor
  2. VersionMinor
  3. BuildNumber (this was preexisting)
  4. VersionRevision

The BuildNumber always represents the 3rd integer in the version. If you want the version/git height specifically, use VersionHeight, since as you say that may not appear as the 3rd integer.

I've also added a PrereleaseVersionNoLeadingHyphen property for you.

Closes #233

@AArnott AArnott self-assigned this Oct 19, 2018
@AArnott AArnott merged commit f4228b8 into master Oct 20, 2018
@AArnott AArnott deleted the fix233 branch October 20, 2018 04:32
AArnott added a commit that referenced this pull request Apr 1, 2024
Validate formatted code in builds
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Major, Minor and Patch version parts as separate variables
1 participant