Skip to content

Commit

Permalink
ci: fix compress filename [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Sep 9, 2022
1 parent 85d13c4 commit 4632565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ MakeRelease() {
done
for i in $(find . -type f -name "$appName-darwin-*"); do
cp "$i" alist
tar -czvf compress/"$i".tar.gz "$i"
tar -czvf compress/"$i".tar.gz alist
rm -f alist
done
for i in $(find . -type f -name "$appName-windows-*"); do
cp "$i" alist.exe
zip compress/$(echo $i | sed 's/\.[^.]*$//').zip "$i"
zip compress/$(echo $i | sed 's/\.[^.]*$//').zip alist.exe
rm -f alist.exe
done
cd compress
Expand Down

0 comments on commit 4632565

Please sign in to comment.