|
|
@@ -46,7 +46,7 @@ Write-Host |
|
|
|
#################################################################### |
|
|
|
|
|
|
|
# Build MQTTnet.Server Portable |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion |
|
|
|
|
|
|
|
$source = "..\Source\MQTTnet.Server\bin\Release\netcoreapp2.2\publish" |
|
|
|
$destination = "..\Source\MQTTnet.Server\bin\MQTTnet.Server-Portable-v$nugetVersion.zip" |
|
|
@@ -57,7 +57,7 @@ If(Test-path $destination) {Remove-item $destination} |
|
|
|
#################################################################### |
|
|
|
|
|
|
|
# Build MQTTnet.Server Linux-x64 |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime linux-x64 |
|
|
|
|
|
|
|
$source = "..\Source\MQTTnet.Server\bin\Release\netcoreapp2.2\linux-x64\publish" |
|
|
|
$destination = "..\Source\MQTTnet.Server\bin\MQTTnet.Server-Linux-x64-v$nugetVersion.zip" |
|
|
@@ -68,7 +68,7 @@ If(Test-path $destination) {Remove-item $destination} |
|
|
|
#################################################################### |
|
|
|
|
|
|
|
# Build MQTTnet.Server Windows-x64 |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release --self-contained --runtime win-x64 |
|
|
|
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime win-x64 |
|
|
|
|
|
|
|
$source = "..\Source\MQTTnet.Server\bin\Release\netcoreapp2.2\win-x64\publish" |
|
|
|
$destination = "..\Source\MQTTnet.Server\bin\MQTTnet.Server-Windows-x64-v$nugetVersion.zip" |
|
|
|