From 1b8a78960032a97f0574f9ce7b7e82f7f0a11b07 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Sat, 10 Aug 2024 13:47:15 -0500 Subject: [PATCH] Deb setup --- package.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.sh b/package.sh index 5dc7a9f..1a23bf2 100644 --- a/package.sh +++ b/package.sh @@ -9,15 +9,15 @@ cd out for f in *.deb; do mv -- "$f" "${f%.deb}_all.deb";done cp *.deb /pool/ cd ../ -mkdir ../publish/server/linux-{x64,arm,arm64} +mkdir -p ../publish/server/linux-{x64,arm,arm64} dotnet publish -c Release -o ../publish/server/linux-x64 -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/server/linux-arm -r linux-arm --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/server/linux-arm64 -r linux-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -mkdir ../publish/server/win-{x86,x64,arm64} +mkdir -p ../publish/server/win-{x86,x64,arm64} dotnet publish -c Release -o ../publish/server/win-x86 -r win-x86 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/server/win-x64 -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/server/win-arm64 -r win-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -mkdir ../publish/server/osx-{x64,arm64} +mkdir -p ../publish/server/osx-{x64,arm64} dotnet publish -c Release -o ../publish/server/osx-x64 -r osx-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/server/osx-arm64 -r osx-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true cd ../Tesses.CMS.Cli @@ -26,15 +26,15 @@ cd out for f in *.deb; do mv -- "$f" "${f%.deb}_all.deb";done cp *.deb /pool/ cd ../ -mkdir ../publish/cli/linux-{x64,arm,arm64} +mkdir -p ../publish/cli/linux-{x64,arm,arm64} dotnet publish -c Release -o ../publish/cli/linux-x64 -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/cli/linux-arm -r linux-arm --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/cli/linux-arm64 -r linux-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -mkdir ../publish/cli/win-{x86,x64,arm64} +mkdir -p ../publish/cli/win-{x86,x64,arm64} dotnet publish -c Release -o ../publish/cli/win-x86 -r win-x86 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/cli/win-x64 -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/cli/win-arm64 -r win-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -mkdir ../publish/cli/osx-{x64,arm64} +mkdir -p ../publish/cli/osx-{x64,arm64} dotnet publish -c Release -o ../publish/cli/osx-x64 -r osx-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../publish/cli/osx-arm64 -r osx-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true cd ../Tesses.CMS.Avalonia/Tesses.CMS.Avalonia.Desktop @@ -43,7 +43,7 @@ cd out for f in *.deb; do mv -- "$f" "${f%.deb}_all.deb";done cp *.deb /pool/ cd ../ -mkdir ../../publish/desktop/linux-{x64,arm,arm64} +mkdir -p ../../publish/desktop/linux-{x64,arm,arm64} dotnet publish -c Release -o ../../publish/desktop/linux-x64 -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../../publish/desktop/linux-arm -r linux-arm --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../../publish/desktop/linux-arm64 -r linux-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true @@ -51,9 +51,9 @@ dotnet publish -c Release -o ../../publish/desktop/linux-arm64 -r linux-arm64 -- #dotnet publish -c Release -o ../../publish/desktop/win-x86 -r win-x86 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true #dotnet publish -c Release -o ../../publish/desktop/win-x64 -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true #dotnet publish -c Release -o ../../publish/desktop/win-arm64 -r win-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -mkdir ../../publish/desktop/osx-{x64,arm64} +mkdir -p ../../publish/desktop/osx-{x64,arm64} dotnet publish -c Release -o ../../publish/desktop/osx-x64 -r osx-x64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet publish -c Release -o ../../publish/desktop/osx-arm64 -r osx-arm64 --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true cd ../Tesses.CMS.Avalonia.Android -mkdir ../../publish/android +mkdir -p ../../publish/android dotnet publish -c Release -o ../../publish/android