Parcourir la source

Fix build script.

release/3.x.x
Christian Kratky il y a 6 ans
Parent
révision
89becaa191
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      Build/build.ps1

+ 3
- 3
Build/build.ps1 Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer