Build both debug and release in scripts

This commit is contained in:
Matt Nadareski
2021-06-29 13:59:20 -07:00
parent 3755b168ff
commit 8c2a74c100
2 changed files with 2 additions and 0 deletions

View File

@@ -1 +1,2 @@
dotnet publish -f netcoreapp3.1 -r win-x64 -c Debug -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
dotnet publish -f netcoreapp3.1 -r win-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true

View File

@@ -1,2 +1,3 @@
#!/usr/bin/env bash
dotnet publish -f netcoreapp3.1 -r linux-x64 -c Debug -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
dotnet publish -f netcoreapp3.1 -r linux-x64 -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true