You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
401 B

#!/bin/bash
rids=( "linux-x64" "linux-musl-x64" "linux-arm" "linux-arm64" "osx-x64" "osx.11.0-arm64" "win-x64" "win-x86" "win-arm" "win-arm64" )
for rid in "${rids[@]}"
do
echo "Building $rid..."
dotnet publish -r $rid -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -o "./builds/$rid"
echo "Finished building $rid."
done
echo "Finishing building all packages"