瀏覽代碼

Add MQTTnet.Server build for ARM.

release/3.x.x
Christian Kratky 5 年之前
父節點
當前提交
a79c2484b3
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. +11
    -0
      Build/build.ps1

+ 11
- 0
Build/build.ps1 查看文件

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



Loading…
取消
儲存