Skip to content

Releases: skarpdev/dotnet-version-cli

v2.0.0

04 Nov 07:18
336ecee
Compare
Choose a tag to compare

This is a new major release of the tool bringing in many improvements, and one breaking change. Thanks to @eduherminio for reporting issues and testing the pre-release versions.

All new usages introduced are documented in the readme.

new features

  • add support for pre-release handling, including build-meta and prefixes (see #38, #39, #41, #42, #43, #44)
  • add dotnet 5.0 target to allow usage on dotnet 5.0 build images (see #62)

breaking change

  • break handling of version numbers. The previous version number matcher was not strictly semver 2.0, it is now due to pre-release handling. This will probably affect very few people.

bugfixes

  • fix whitespace preservation when patching csproj files (see #45 & #53)
  • fix typo in exception message (see #55)

improvements

  • add sonar cloud scanning to our builds to improve overall quality (see #50, #52)
  • increase test coverage (see #54)

v1.1.2

28 Apr 18:13
311170c
Compare
Choose a tag to compare

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

10 Jan 12:23
58e677f
Compare
Choose a tag to compare

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

07 Sep 09:35
fc7cf93
Compare
Choose a tag to compare

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 - dotnet global tool

29 Aug 18:20
037ef64
Compare
Choose a tag to compare

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

17 May 18:57
37f644b
Compare
Choose a tag to compare

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

12 Oct 19:33
Compare
Choose a tag to compare

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

08 Aug 09:49
Compare
Choose a tag to compare

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

v0.4.0

08 Aug 09:19
Compare
Choose a tag to compare

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

17 Jun 20:38
Compare
Choose a tag to compare

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