Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

dotnet-gitversion - Simple git versioning for dotnet cli

dotnet-gitversion is a simple extension tool for dotnet cli that sets the version number based on git tags and branches. It is based on the wonderful GitVersion.

Usage

Reference dotnet-gitversion in your project.json:

{
"tools": {
"dotnet-gitversion": {
"version": "*",
"imports": [
"dotnet"
]
}
},
"version": "0.0.0",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
}
}
}
}

Then run dotnet restore to fetch dotnet-gitversion and finally run dotnet gitversion to update the version field.

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages