From fc0ac109d89aba23be57e99fc4ce65b3e289bea9 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 8 Mar 2024 17:54:26 +0800 Subject: [PATCH] build: add a script to publish on Linux --- src/BuildLinux.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/BuildLinux.sh diff --git a/src/BuildLinux.sh b/src/BuildLinux.sh new file mode 100644 index 00000000..e8cc4c7b --- /dev/null +++ b/src/BuildLinux.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +dotnet publish -c Release -r linux-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained \ No newline at end of file