Browse Source

Fix build script.

release/3.x.x
Christian Kratky 6 years ago
parent
commit
89becaa191
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Build/build.ps1

+ 3
- 3
Build/build.ps1 View File

@@ -39,9 +39,9 @@ if ($path) {

Remove-Item .\NuGet -Force -Recurse -ErrorAction SilentlyContinue

(Get-Content MQTTnet.AspNetCore.nuspec) -replace '$nugetVersion', $nugetVersion | Set-Content MQTTnet.AspNetCore.nuspec
(Get-Content MQTTnet.Extensions.Rpc.nuspec) -replace '$nugetVersion', $nugetVersion | Set-Content MQTTnet.Extensions.Rpc.nuspec
(Get-Content MQTTnet.Extensions.ManagedClient.nuspec) -replace '$nugetVersion', $nugetVersion | Set-Content Extensions.ManagedClient.nuspec
(Get-Content MQTTnet.AspNetCore.nuspec) -replace '\$nugetVersion', $nugetVersion | Set-Content MQTTnet.AspNetCore.nuspec
(Get-Content MQTTnet.Extensions.Rpc.nuspec) -replace '\$nugetVersion', $nugetVersion | Set-Content MQTTnet.Extensions.Rpc.nuspec
(Get-Content MQTTnet.Extensions.ManagedClient.nuspec) -replace '\$nugetVersion', $nugetVersion | Set-Content MQTTnet.Extensions.ManagedClient.nuspec
New-Item -ItemType Directory -Force -Path .\NuGet
.\nuget.exe pack MQTTnet.nuspec -Verbosity detailed -Symbols -OutputDir "NuGet" -Version $nugetVersion


Loading…
Cancel
Save