dotnet-gitversion | simple extension tool for dotnet cli | Command Line Interface library
kandi X-RAY | dotnet-gitversion Summary
kandi X-RAY | dotnet-gitversion Summary
dotnet-gitversion
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dotnet-gitversion
dotnet-gitversion Key Features
dotnet-gitversion Examples and Code Snippets
Community Discussions
Trending Discussions on dotnet-gitversion
QUESTION
I am using make
to build my application, and I want to set a variable when building everything, containing the git version.
My preference is to do this all inside the Makefile
, so I am not dependant on any external scripts. I am trying the following:
ANSWER
Answered 2021-Sep-15 at 14:59I would suggest you do something similar to the following:
Makefile:
QUESTION
I have a couple of webapps I am adding gitversion to. Main problem - GitVersion is generating a MajorMinorPatchTag where the Major is in the format yyyymmdd. Aside from this not being a valid major version, I want the usual versioning 0.1.3.alpha.1 in the example below but I am getting 20201021.1.1.
I have removed all the old build tags from the repo so it does not appear to be finding this from tags. Is there anywhere else I can force it to ignore previous build versions and use the semver starting from the gitversion.yml/next-version setting?
Detail below:
The gitversion.yml is simple:
...ANSWER
Answered 2020-Oct-21 at 22:42GitTools.UseGitVersion is deprected thus I recommend you switch to GitTools bundle and then you can use it like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dotnet-gitversion
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page