Sfoglia il codice sorgente

Add MQTTnet.Server build for ARM.

release/3.x.x
Christian Kratky 5 anni fa
parent
commit
a79c2484b3
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. +11
    -0
      Build/build.ps1

+ 11
- 0
Build/build.ps1 Vedi File

@@ -67,6 +67,17 @@ If(Test-path $destination) {Remove-item $destination}

####################################################################

# Build MQTTnet.Server Linux-ARM
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime linux-arm

$source = "..\Source\MQTTnet.Server\bin\Release\netcoreapp2.2\linux-ARM\publish"
$destination = "..\Source\MQTTnet.Server\bin\MQTTnet.Server-Linux-ARM-v$nugetVersion.zip"
If(Test-path $destination) {Remove-item $destination}
Add-Type -assembly "system.io.compression.filesystem"
[io.compression.zipfile]::CreateFromDirectory($source, $destination)

####################################################################

# Build MQTTnet.Server Windows-x64
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime win-x64



Caricamento…
Annulla
Salva