2018-07-08 14:37:05 +03:00
|
|
|
#!/bin/bash
|
2018-07-10 15:16:12 +03:00
|
|
|
pushd "${0%/*}" > /dev/null
|
2019-12-03 18:56:30 +03:00
|
|
|
if [ ! -z $BUILDVERSION ]; then _VersionProp="/p:VersionPrefix=$BUILDVERSION"; fi
|
2018-07-13 20:32:35 +03:00
|
|
|
dotnet restore
|
2024-02-26 14:06:23 +03:00
|
|
|
dotnet msbuild /t:Package /p:Configuration=Release /p:WindowsOnly=false /p:TargetFramework=net8.0 /p:RuntimeIdentifier=osx-x64 $_BuildProp $_VersionProp $@
|
|
|
|
dotnet msbuild /t:Package /p:Configuration=Release /p:WindowsOnly=false /p:TargetFramework=net8.0 /p:RuntimeIdentifier=osx-arm64 $_BuildProp $_VersionProp $@
|
|
|
|
dotnet msbuild /t:Package /p:Configuration=Release /p:WindowsOnly=false /p:TargetFramework=net8.0 /p:RuntimeIdentifier=linux-x64 $_BuildProp $_VersionProp $@
|
|
|
|
dotnet msbuild /t:Package /p:Configuration=Release /p:WindowsOnly=false /p:TargetFramework=net8.0 /p:RuntimeIdentifier=linux-arm64 $_BuildProp $_VersionProp $@
|
2018-07-10 15:16:12 +03:00
|
|
|
popd
|