From 7ffe44fada36ca22f53d937bbe83fcd612cb0fcd Mon Sep 17 00:00:00 2001 From: Sandro Ciervo Date: Mon, 27 Jan 2025 11:53:46 +0100 Subject: [PATCH 1/3] Skip V4 and jump to V5 instead 4.0.x numbers were already accidentally published to Nuget.org 2yrs ago and can't be used again --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c15d98..2d507fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [4.0.0] - 2025-01-27 - ### Added - Added cancellation token support for commands From 6a9a2a44aa4e4901ed58696d6cdac9008c5f037a Mon Sep 17 00:00:00 2001 From: Sandro Ciervo Date: Mon, 27 Jan 2025 11:57:39 +0100 Subject: [PATCH 2/3] Remove `--skip-duplicate` from nuget push task in workflow --- .github/workflows/cd-production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd-production.yml b/.github/workflows/cd-production.yml index ff921fa..69162b5 100644 --- a/.github/workflows/cd-production.yml +++ b/.github/workflows/cd-production.yml @@ -34,6 +34,6 @@ jobs: dotnet pack "Neolution.DotNet.Console\Neolution.DotNet.Console.csproj" --configuration ${{ env.BUILD_CONFIGURATION }} --no-build -p:PackageVersion=$NUGET_VERSION - name: Push NuGet package - run: dotnet nuget push --skip-duplicate -k $NUGET_AUTH_TOKEN **/bin/Release/*.nupkg + run: dotnet nuget push -k $NUGET_AUTH_TOKEN **/bin/Release/*.nupkg env: NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY_NEOLUTION }} From b84913bfda6aea150f9bcbd75cdf839eac7748aa Mon Sep 17 00:00:00 2001 From: Sandro Ciervo Date: Mon, 27 Jan 2025 12:03:13 +0100 Subject: [PATCH 3/3] add note to readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7081995..f34e1a8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ To help you kickstart your console application, we've provided a a [sample appli # Guides -## Migrate from V3 to V4 +## Migrate from V3 to V5 + +*Note: V4 was intentionally skipped, there is no V4 release.* To support cancellation tokens, the `IDotNetConsoleCommand` interface had to be changed: The `RunAsync` method now requires also a `CancellationToken` as a parameter. This change is breaking, so you will need to update your commands to reflect this change.