chore: update ci

This commit is contained in:
henry.chen
2025-07-24 18:28:41 +08:00
parent 88dccca295
commit ea566d1650
4 changed files with 163 additions and 60 deletions

View File

@@ -10,8 +10,7 @@ for file in cmd/*; do
# tar platform
for os in linux darwin windows; do
_target="$app-$_tag.$os-$_arch.tar.gz"
GOOS=$os GOARCH=$_arch \
go build -ldflags '-extldflags "-static"' -o ./cmd/$app/backend ./cmd/$app
GOOS=$os GOARCH=$_arch scripts/run_build.sh $app
tar czf $_target ./cmd/$app/etc ./cmd/$app/backend
done
done