From e9b1d5bb039967ef4a6a338ab736c81cd54b2805 Mon Sep 17 00:00:00 2001 From: orangedeng Date: Wed, 23 Mar 2022 15:58:13 +0800 Subject: [PATCH] Fix copying binary with wrong extension --- scripts/package | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/package b/scripts/package index 8f11a64..c252013 100755 --- a/scripts/package +++ b/scripts/package @@ -24,6 +24,7 @@ for file in `find bin -print`; do platform=`dirname $shortten` os="${platform%/*}" arch="${platform#*/}" + ext="" [ "$os" = "windows" ] && ext=".exe" echo $os $arch $binary cp "$file" dist/artifacts/$binary-$os-$arch$ext