前端更新 触发重新打包
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giaogiao 2023-09-27 17:25:02 +08:00
parent 7b9d006142
commit 1699d455b5
1 changed files with 1 additions and 0 deletions

View File

@ -47,4 +47,5 @@ do
# CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
CGO_ENABLED=1 GOOS=${array[0]} GOARCH=${array[1]} go build -ldflags "-linkmode external -extldflags '-static' -s -w" -o ${array[0]}_${array[1]}_main${extension}
cp ${array[0]}_${array[1]}_main${extension} /root/web/
done