Dotnet Version Cli Versions Save

dotnet version cli (similar to npm version cli)

v1.1.2

4 years ago

This is a maintenance release

  • Fixes a spelling mistake (see #32)
  • Ensures that errors are written to stderr for better ci behavior (see #35)

Thanks to @eduherminio for providing the fixes.

v1.1.1

4 years ago

v1.1.0 and this is a maintenance release that updates the dotnet runtime targeting so it can be installed on machines with the following SDKs:

  • 2.1
  • 2.2
  • 3.0
  • 3.1

See #31 and #30 for further details.

v1.0.1

5 years ago

This is a minor improvement to the tool where the help text will be shown in case of a known exception being thrown - to assist the user in exploring what the tool can do.

v1.0.0

5 years ago

With this version the dotnet-version-climoves away from a cli tool that is installed on a csproj file and becomes a standalone dotnet 2.1 global tool. Thanks to @mikey0000 for the initial work on making this happen!

First upgrade your dotnet SDK to at least 2.1.301 and then install the tool by:

dotnet tool install -g dotnet-version-cli

Now you can use the tool everywhere on your machine with dotnet version.

Support for passing in the csproj file to work on has also been baked in:

dotnet version --project-file=./src/my.csproj minor

To bump the given csproj file with minor

v0.7.0

5 years ago

This is a feature release that adds a --dry-run cli switch which will disable updating the csproj file and therefore also disable vcs changes.

The intended new version will be output to standard out.

v0.5.0

6 years ago

This is a feature release that adds support for netcoreapp 1.1 and 2.0 which means that this package should become available for install on additional platforms, like Ubuntu 17.04 that only supports dotnet core 2.0

v0.4.1

6 years ago

Support JSON output when just dumping the current version of a csproj file.

v0.4.0

6 years ago

This is a feature release that allows you to specify which format to return output in, when the app runs successfully.

So an example invocation on a project in version 1.2.1 with a minor update and json output (prettified here for readability, ugly json is actually returned):

λ dotnet version --output-format=json minor
{
  "product": {
    "name": "dotnet-version-cli",
    "version": "0.4.0"
  },
  "oldVersion": "1.2.1",
  "newVersion": "1.3.0",
  "projectFile": "C:\\your\\stuff\\project.csproj",
  "versionStrategy": "minor"
}

The product bit is information about the version cli it self, the rest is about your project and how it was changed. If you don't specify an output-format the default behavior is preserved which is just writing normal text to standard out.

v0.3.1

6 years ago

This is a recovery release that allows you to bump your versions beyond 10 in the major, minor or patchsegments - sorry about that! :)

v0.3.0

7 years ago

This release brings support for supplying the version that should go into the .csproj file - look in the README for examples