Skip to content

Commit

Permalink
fixed 编译二进制文件名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins authored Aug 26, 2020
1 parent c7abdb0 commit ebe697f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go_pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebe697f

Please sign in to comment.