Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
esrrhs committed Nov 29, 2023
1 parent b79b2ac commit dc93b2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,17 @@ for line in $build_list; do
exit 1
fi
if [ $os = "windows" ]; then
zip ${NAME}_"${os}"_"${arch}"".zip" cmd.exe
mv cmd.exe ${NAME}.exe
zip ${NAME}_"${os}"_"${arch}"".zip" ${NAME}.exe
if [ $? -ne 0 ]; then
echo "os="$os" arch="$arch" zip fail"
exit 1
fi
mv ${NAME}_"${os}"_"${arch}"".zip" pack/
rm $NAME".exe" -f
else
zip ${NAME}_"${os}"_"${arch}"".zip" cmd
mv cmd ${NAME}
zip ${NAME}_"${os}"_"${arch}"".zip" ${NAME}
if [ $? -ne 0 ]; then
echo "os="$os" arch="$arch" zip fail"
exit 1
Expand Down

0 comments on commit dc93b2d

Please sign in to comment.