ci: fix compress filename [skip ci]

pull/1628/head
Noah Hsu 2022-09-09 16:31:43 +08:00
parent 85d13c4c5a
commit 46325655e1
1 changed files with 2 additions and 2 deletions

View File

@ -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