build: add a script to publish on Linux

This commit is contained in:
leo 2024-03-08 17:54:26 +08:00
parent 8d533e5270
commit fc0ac109d8

3
src/BuildLinux.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
dotnet publish -c Release -r linux-x64 -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained