Skip to content

Commit

Permalink
Fix copying binary with wrong extension
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Mar 23, 2022
1 parent b8078d1 commit e9b1d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9b1d5b

Please sign in to comment.