From f06f4faec1dafcaf79fa49dbc829b8ca1f07b478 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcel=20H=C3=A4rtel?=
<7989230+BlizzCrafter@users.noreply.github.com>
Date: Tue, 5 Apr 2022 15:07:17 +0200
Subject: [PATCH] Updated post build events and .nuspec files.
---
.../MonoGame.SplineFlower.Content.Pipeline.csproj | 3 +--
.../MonoGame.SplineFlower.Content.Pipeline.nuspec | 4 ++--
.../MonoGame.SplineFlower.Content.csproj | 3 +--
.../MonoGame.SplineFlower.Content.nuspec | 4 ++--
MonoGame.SplineFlower/MonoGame.SplineFlower.csproj | 3 +--
MonoGame.SplineFlower/MonoGame.SplineFlower.nuspec | 4 ++--
6 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/MonoGame.SplineFlower.Content.Pipeline/MonoGame.SplineFlower.Content.Pipeline.csproj b/MonoGame.SplineFlower.Content.Pipeline/MonoGame.SplineFlower.Content.Pipeline.csproj
index 433e9e7..6fbd328 100644
--- a/MonoGame.SplineFlower.Content.Pipeline/MonoGame.SplineFlower.Content.Pipeline.csproj
+++ b/MonoGame.SplineFlower.Content.Pipeline/MonoGame.SplineFlower.Content.Pipeline.csproj
@@ -77,8 +77,7 @@
if $(ConfigurationName) == NuGetRelease nuget pack "$(ProjectPath)" -properties Configuration=NuGetRelease -OutputDirectory "$(SolutionDir)create"
-if $(ConfigurationName) == NuGetRelease nuget push -Source nuget.org "$(SolutionDir)create\*.nupkg"
-if $(ConfigurationName) == NuGetRelease del /q "$(SolutionDir)create\*.nupkg"
+if $(ConfigurationName) == NuGetRelease nuget push -Source nuget.org -SkipDuplicate "$(SolutionDir)create\*.nupkg"