Use zip for better accessibility
This commit is contained in:
parent
e9b2d7fd19
commit
ea92de5b06
1 changed files with 5 additions and 2 deletions
7
build.sh
7
build.sh
|
@ -42,8 +42,11 @@ mkdir ffbuild/pkgroot
|
||||||
package_variant ffbuild/prefix ffbuild/pkgroot
|
package_variant ffbuild/prefix ffbuild/pkgroot
|
||||||
|
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
ARTIFACTS_PATH="$PWD/artifacts"
|
||||||
BUILD_NAME="ffmpeg-$(git --git-dir=ffbuild/ffmpeg/.git describe)-${TARGET}-${VARIANT}"
|
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
|
rm -rf ffbuild
|
||||||
|
|
Loading…
Reference in a new issue