mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
chore: update ci
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user