From 3845c4c17dffc98034a20c7e0708e4ffaefe884f Mon Sep 17 00:00:00 2001 From: Christo du Toit Date: Mon, 29 May 2023 00:41:18 +0100 Subject: [PATCH] RELEASES: 2.2.0.2 --- .github/workflows/dotnet.yml | 2 +- .../ADotNet.Infrastructure.Build.csproj | 2 +- ADotNet/ADotNet.csproj | 6 +++--- .../GithubPipelines/DotNets/Tasks/NugetPushTask.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 3cdef7f..16eb229 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -113,4 +113,4 @@ jobs: - name: Pack NuGet Package run: dotnet pack --configuration Release --include-symbols - name: Push NuGet Package - run: dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }} + run: dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }} --skip-duplicate diff --git a/ADotNet.Infrastructure.Build/ADotNet.Infrastructure.Build.csproj b/ADotNet.Infrastructure.Build/ADotNet.Infrastructure.Build.csproj index 3b8babe..8a6f39b 100644 --- a/ADotNet.Infrastructure.Build/ADotNet.Infrastructure.Build.csproj +++ b/ADotNet.Infrastructure.Build/ADotNet.Infrastructure.Build.csproj @@ -1,4 +1,4 @@ - + Exe diff --git a/ADotNet/ADotNet.csproj b/ADotNet/ADotNet.csproj index feb0d18..f6c8dfc 100644 --- a/ADotNet/ADotNet.csproj +++ b/ADotNet/ADotNet.csproj @@ -21,9 +21,9 @@ True README.md - 2.2.0.1 - 2.2.0.1 - 2.2.0.1 + 2.2.0.2 + 2.2.0.2 + 2.2.0.2 License.txt True https://github.com/hassanhabib/ADotNet diff --git a/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/NugetPushTask.cs b/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/NugetPushTask.cs index 378ddef..85a7900 100644 --- a/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/NugetPushTask.cs +++ b/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/NugetPushTask.cs @@ -11,6 +11,6 @@ namespace ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks public class NugetPushTask : GithubTask { [YamlMember(Order = 1)] - public string Run = "dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }}"; + public string Run = "dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }} --skip-duplicate"; } }