Skip to content

Commit

Permalink
Merge pull request #7 from orangedeng/fix-package-problem
Browse files Browse the repository at this point in the history
Fix copying binary with wrong extension
  • Loading branch information
orangedeng authored Mar 23, 2022
2 parents b8078d1 + e9b1d5b commit a058388
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 a058388

Please sign in to comment.