fix release.sh

This commit is contained in:
Mathias Panzenböck 2024-04-20 19:55:12 +02:00
parent 8110c3c845
commit 9297d06546
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@ for target in linux32 linux64 win32 win64; do
make TARGET=$target BUILD_TYPE=release builddir
make TARGET=$target BUILD_TYPE=release "-j$(nproc)"
if [[ -d "$builddir" ]]; then
mkdir "$pkg/$builddir"
mkdir "$pkg/$target"
suffix=
case "$target" in win*) suffix=.exe;; esac
cp "$builddir/mediaextract$suffix" "$pkg/$builddir"
cp "$builddir/mediaextract$suffix" "$pkg/$target"
fi
done
zip -r9 "$pkg.zip" "$pkg"