This repository was archived by the owner on Sep 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Paul Trampert edited this page Nov 6, 2016
·
2 revisions
Welcome to the dotnet-version wiki!
Include this in the tools section of your project.json. It's available via nuget:
{
"tools": {
"dotnet-version": "1.1.0"
}
}From the project's directory, the dotnet command "version" is now available (dotnet version).
Usage: [options] [command]
Options:
-? | -help Show help information
Commands:
read
set
Sets the version of the project.json in the current directory.
Usage: set [options]
Options:
--new-version If specified, the new version to set in the project.json. Version must be in semver format (major.minor.patch).
--env-var If specified, the environment variable contianing the new version. Version must be in semver format (major.minor.patch).
-? | -help Show help information
Prints the version in the project.json of the current directory.
Usage: read [options]
Options:
-? | -help Show help information