diff --git a/Publish.ps1 b/Publish.ps1
index 341b1cc..417e532 100644
--- a/Publish.ps1
+++ b/Publish.ps1
@@ -1,3 +1,5 @@
+param([switch]$nopush = "nopush")
+
New-Item -Path publish -Type directory -Force | Out-Null
$version = GitVersion.exe | Out-String | ConvertFrom-Json
@@ -8,27 +10,33 @@ Write-Host "Publishing version $($version.NuGetVersion) using API key $($nugetke
Write-Host "Packing Tapeti.Annotations.csproj" -Foreground Blue
-NuGet.exe pack Tapeti\Tapeti.Annotations.csproj -OutputDir publish -Version $version.NuGetVersion
+NuGet.exe pack Tapeti.Annotations\Tapeti.Annotations.csproj -OutputDir publish -Version $version.NuGetVersion -Properties depversion="$($version.NuGetVersion)"
Write-Host "Packing Tapeti.csproj" -Foreground Blue
-NuGet.exe pack Tapeti\Tapeti.csproj -OutputDir publish -Version $version.NuGetVersion
+NuGet.exe pack Tapeti\Tapeti.csproj -OutputDir publish -Version $version.NuGetVersion -Properties depversion="$($version.NuGetVersion)"
Write-Host "Packing Tapeti.Flow.csproj" -Foreground Blue
-NuGet.exe pack Tapeti.Flow\Tapeti.Flow.csproj -OutputDir publish -Version $version.NuGetVersion
+NuGet.exe pack Tapeti.Flow\Tapeti.Flow.csproj -OutputDir publish -Version $version.NuGetVersion -Properties depversion="$($version.NuGetVersion)"
Write-Host "Packing Tapeti.SimpleInjector.csproj" -Foreground Blue
-NuGet.exe pack Tapeti.SimpleInjector\Tapeti.SimpleInjector.csproj -OutputDir publish -Version $version.NuGetVersion
+NuGet.exe pack Tapeti.SimpleInjector\Tapeti.SimpleInjector.csproj -OutputDir publish -Version $version.NuGetVersion -Properties depversion="$($version.NuGetVersion)"
+if ($nopush -eq $false)
+{
+ Write-Host "Pushing Tapeti.Annotations.csproj" -Foreground Blue
+ NuGet.exe push publish\X2Software.Tapeti.Annotations.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
-Write-Host "Pushing Tapeti.Annotations.csproj" -Foreground Blue
-NuGet.exe push publish\X2Software.Tapeti.Annotations.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
+ Write-Host "Pushing Tapeti.csproj" -Foreground Blue
+ NuGet.exe push publish\X2Software.Tapeti.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
-Write-Host "Pushing Tapeti.csproj" -Foreground Blue
-NuGet.exe push publish\X2Software.Tapeti.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
+ Write-Host "Pushing Tapeti.Flow.csproj" -Foreground Blue
+ NuGet.exe push publish\X2Software.Tapeti.Flow.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
-Write-Host "Pushing Tapeti.Flow.csproj" -Foreground Blue
-NuGet.exe push publish\X2Software.Tapeti.Flow.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
-
-Write-Host "Pushing Tapeti.SimpleInjector.csproj" -Foreground Blue
-NuGet.exe push publish\X2Software.Tapeti.SimpleInjector.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
+ Write-Host "Pushing Tapeti.SimpleInjector.csproj" -Foreground Blue
+ NuGet.exe push publish\X2Software.Tapeti.SimpleInjector.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
+}
+else
+{
+ Write-Host "Skipping push" -Foreground Blue
+}
\ No newline at end of file
diff --git a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec
index 22ac4c0..6edf2b8 100644
--- a/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec
+++ b/Tapeti.Flow.SQL/Tapeti.Flow.SQL.nuspec
@@ -12,5 +12,9 @@
SQL backing repository for the Tapeti Flow package
rabbitmq tapeti sql
+
+
+
+
\ No newline at end of file
diff --git a/Tapeti.Flow/Tapeti.Flow.nuspec b/Tapeti.Flow/Tapeti.Flow.nuspec
index 6790a44..eeb40d0 100644
--- a/Tapeti.Flow/Tapeti.Flow.nuspec
+++ b/Tapeti.Flow/Tapeti.Flow.nuspec
@@ -12,5 +12,9 @@
Flow extension for Tapeti
rabbitmq tapeti flow
+
+
+
+
\ No newline at end of file
diff --git a/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec
index 9da5b38..dd4aa82 100644
--- a/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec
+++ b/Tapeti.SimpleInjector/Tapeti.SimpleInjector.nuspec
@@ -12,5 +12,8 @@
SimpleInjector integration package for Tapeti
rabbitmq tapeti simpleinjector
+
+
+
\ No newline at end of file
diff --git a/Tapeti/Tapeti.nuspec b/Tapeti/Tapeti.nuspec
index 045367c..97376f0 100644
--- a/Tapeti/Tapeti.nuspec
+++ b/Tapeti/Tapeti.nuspec
@@ -12,5 +12,8 @@
Controller-based framework for RabbitMQ microservice architectures
rabbitmq tapeti
+
+
+
\ No newline at end of file