Fixed nuspec dependencies between Tapeti packages
This commit is contained in:
parent
ac4386fd55
commit
163a118ff9
18
Publish.ps1
18
Publish.ps1
@ -1,3 +1,5 @@
|
|||||||
|
param([switch]$nopush = "nopush")
|
||||||
|
|
||||||
New-Item -Path publish -Type directory -Force | Out-Null
|
New-Item -Path publish -Type directory -Force | Out-Null
|
||||||
|
|
||||||
$version = GitVersion.exe | Out-String | ConvertFrom-Json
|
$version = GitVersion.exe | Out-String | ConvertFrom-Json
|
||||||
@ -8,19 +10,20 @@ Write-Host "Publishing version $($version.NuGetVersion) using API key $($nugetke
|
|||||||
|
|
||||||
|
|
||||||
Write-Host "Packing Tapeti.Annotations.csproj" -Foreground Blue
|
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
|
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
|
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
|
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
|
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
|
NuGet.exe push publish\X2Software.Tapeti.Annotations.$($version.NuGetVersion).nupkg -apikey $nugetkey -Source https://www.nuget.org/api/v2/package
|
||||||
|
|
||||||
@ -32,3 +35,8 @@ NuGet.exe push publish\X2Software.Tapeti.Flow.$($version.NuGetVersion).nupkg -ap
|
|||||||
|
|
||||||
Write-Host "Pushing Tapeti.SimpleInjector.csproj" -Foreground Blue
|
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
|
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
|
||||||
|
}
|
@ -12,5 +12,9 @@
|
|||||||
<description>SQL backing repository for the Tapeti Flow package</description>
|
<description>SQL backing repository for the Tapeti Flow package</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti sql</tags>
|
<tags>rabbitmq tapeti sql</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
||||||
|
<dependency id="X2Software.Tapeti.Flow" version="[$depversion$]" />
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -12,5 +12,9 @@
|
|||||||
<description>Flow extension for Tapeti</description>
|
<description>Flow extension for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti flow</tags>
|
<tags>rabbitmq tapeti flow</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
||||||
|
<dependency id="X2Software.Tapeti.Annotations" version="[$depversion$]" />
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -12,5 +12,8 @@
|
|||||||
<description>SimpleInjector integration package for Tapeti</description>
|
<description>SimpleInjector integration package for Tapeti</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti simpleinjector</tags>
|
<tags>rabbitmq tapeti simpleinjector</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="X2Software.Tapeti" version="[$depversion$]" />
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
@ -12,5 +12,8 @@
|
|||||||
<description>Controller-based framework for RabbitMQ microservice architectures</description>
|
<description>Controller-based framework for RabbitMQ microservice architectures</description>
|
||||||
<copyright></copyright>
|
<copyright></copyright>
|
||||||
<tags>rabbitmq tapeti</tags>
|
<tags>rabbitmq tapeti</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="X2Software.Tapeti.Annotations" version="[$depversion$]" />
|
||||||
|
</dependencies>
|
||||||
</metadata>
|
</metadata>
|
||||||
</package>
|
</package>
|
Loading…
Reference in New Issue
Block a user