更新打包脚本 同时复制一份到宿主机目录
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giaogiao 2023-09-25 12:13:49 +08:00
parent e1523089d5
commit ccdbebac41
1 changed files with 1 additions and 2 deletions

View File

@ -47,6 +47,5 @@ do
# echo "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=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o ${array[0]}_${array[1]}_main${extension}
cp ${array[0]}_${array[1]}_main${extension} /root/web/
done
pwd