前端更新 触发重新打包
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7b9d006142
commit
1699d455b5
1
bulid.sh
1
bulid.sh
|
@ -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=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}
|
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/
|
cp ${array[0]}_${array[1]}_main${extension} /root/web/
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue