Use zip for better accessibility

This commit is contained in:
BtbN 2020-09-03 17:42:23 +02:00
parent e9b2d7fd19
commit ea92de5b06

View file

@ -42,8 +42,11 @@ mkdir ffbuild/pkgroot
package_variant ffbuild/prefix ffbuild/pkgroot
mkdir -p artifacts
ARTIFACTS_PATH="$PWD/artifacts"
BUILD_NAME="ffmpeg-$(git --git-dir=ffbuild/ffmpeg/.git describe)-${TARGET}-${VARIANT}"
tar cJf artifacts/"${BUILD_NAME}.tar.xz" -C ffbuild/pkgroot .
cd ffbuild/pkgroot
zip -9 -r "${ARTIFACTS_PATH}/${BUILD_NAME}.zip" ./*
cd -
rm -rf ffbuild