Browse Source

Remove nuget binary from repo.

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

+ 6
- 1
Build/build.ps1 View File

@@ -90,6 +90,9 @@ If(Test-path $destination) {Remove-item $destination}
####################################################################

# Create NuGet packages.

Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "nuget.exe"

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

Copy-Item MQTTnet.AspNetCore.nuspec -Destination MQTTnet.AspNetCore.nuspec.old -Force
@@ -112,4 +115,6 @@ New-Item -ItemType Directory -Force -Path .\NuGet
Move-Item MQTTnet.AspNetCore.nuspec.old -Destination MQTTnet.AspNetCore.nuspec -Force
Move-Item MQTTnet.Extensions.Rpc.nuspec.old -Destination MQTTnet.Extensions.Rpc.nuspec -Force
Move-Item MQTTnet.Extensions.ManagedClient.nuspec.old -Destination MQTTnet.Extensions.ManagedClient.nuspec -Force
Move-Item MQTTnet.Extensions.WebSocket4Net.nuspec.old -Destination MQTTnet.Extensions.WebSocket4Net.nuspec -Force
Move-Item MQTTnet.Extensions.WebSocket4Net.nuspec.old -Destination MQTTnet.Extensions.WebSocket4Net.nuspec -Force

Remove-Item "nuget.exe" -Force -Recurse -ErrorAction SilentlyContinue

BIN
View File


Loading…
Cancel
Save