Create named subdir in archive
This commit is contained in:
parent
3664c1dceb
commit
825a74c1ad
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -38,15 +38,15 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
|
|||
make install
|
||||
EOF
|
||||
|
||||
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}"
|
||||
BUILD_NAME="ffmpeg-$(./ffbuild/ffmpeg/ffbuild/version.sh ffbuild/ffmpeg)-${TARGET}-${VARIANT}"
|
||||
|
||||
mkdir "ffbuild/pkgroot/$BUILD_NAME"
|
||||
package_variant ffbuild/prefix "ffbuild/pkgroot/$BUILD_NAME"
|
||||
|
||||
cd ffbuild/pkgroot
|
||||
zip -9 -r "${ARTIFACTS_PATH}/${BUILD_NAME}.zip" ./*
|
||||
zip -9 -r "${ARTIFACTS_PATH}/${BUILD_NAME}.zip" "$BUILD_NAME"
|
||||
cd -
|
||||
|
||||
rm -rf ffbuild
|
||||
|
|
Loading…
Reference in a new issue