From ebe697fcbf0dd1d1308e857b040672e7870292cb Mon Sep 17 00:00:00 2001 From: woytu <394585829@qq.com> Date: Wed, 26 Aug 2020 22:56:09 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E7=BC=96=E8=AF=91=E4=BA=8C=E8=BF=9B?= =?UTF-8?q?=E5=88=B6=E6=96=87=E4=BB=B6=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go_pack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go_pack.sh b/go_pack.sh index 15fa5c0..2452352 100755 --- a/go_pack.sh +++ b/go_pack.sh @@ -46,7 +46,7 @@ for item in ${os_arch_array[@]}; do echo "环境变量设置成功:$GOOS------$GOARCH" # 指定编译的二进制文件名 - binary_file=${os}_${arch} + binary_file=$zip_dir if [ $os == "windows" ]; then binary_file=$binary_file.exe fi