This commit is contained in:
@@ -89,6 +89,9 @@ steps:
|
||||
-ldflags "-s -w -buildid= -extldflags '-static'" \
|
||||
-o ./build/$BIN_NAME \
|
||||
./login
|
||||
- |
|
||||
strip ./build/$BIN_NAME
|
||||
upx --best --lzma ./build/$BIN_NAME
|
||||
- |
|
||||
if [ ! -f ./build/$BIN_NAME ]; then
|
||||
echo "❌ 编译失败:产物$BIN_NAME不存在"
|
||||
@@ -105,6 +108,9 @@ steps:
|
||||
-ldflags "-s -w -buildid= -extldflags '-static'" \
|
||||
-o ./build/$BIN_NAME \
|
||||
./logic
|
||||
- |
|
||||
strip ./build/$BIN_NAME
|
||||
upx --best --lzma ./build/$BIN_NAME
|
||||
- |
|
||||
if [ ! -f ./build/$BIN_NAME ]; then
|
||||
echo "❌ 编译失败:产物$BIN_NAME不存在"
|
||||
|
||||
Reference in New Issue
Block a user