Abheek Dhawan
3 years ago
2 changed files with 10 additions and 4 deletions
@ -1,5 +1,9 @@ |
|||||
#!/bin/bash |
#!/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" ) |
||||
dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -o ./builds/linux-x64 |
for rid in "${rids[@]}" |
||||
dotnet publish -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -o ./builds/win-x64 |
do |
||||
dotnet publish -r osx-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -o ./builds/osx-x64 |
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" |
||||
|
Loading…
Reference in new issue