Bug 1356994 - Add a top-level directory to the libdmg-hfsplus source tarball. r=ted

Also change the README of the dmg tarball to point to the artifact url
directly.

--HG--
extra : rebase_source : efc96cf468fd2dcccf727b4c2f32c8d9e0d1bc40
This commit is contained in:
Mike Hommey 2017-04-17 17:24:40 +09:00
Родитель 9620fd514e
Коммит 0e4def53f6
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -23,7 +23,7 @@ cd libdmg-hfsplus
git checkout $LIBDMG_REV
# Make a source archive
git archive ${LIBDMG_REV} | xz > $UPLOAD_DIR/libdmg-hfsplus.tar.xz
git archive --prefix=libdmg-hfsplus/ ${LIBDMG_REV} | xz > $UPLOAD_DIR/libdmg-hfsplus.tar.xz
cmake .
make -j$(getconf _NPROCESSORS_ONLN)
@ -33,6 +33,7 @@ cp dmg/dmg hfs/hfsplus $STAGE
cat >$STAGE/README<<EOF
Built from ${LIBDMG_REPOSITORY} rev `git rev-parse ${LIBDMG_REV}`.
Source is available in tooltool, digest `sha512sum $UPLOAD_DIR/libdmg-hfsplus.tar.xz`.
Source is available as a taskcluster artifact:
https://queue.taskcluster.net/v1/task/$TASK_ID/artifacts/public/libdmg-hfsplus.tar.xz
EOF
tar cf - -C $WORKSPACE `basename $STAGE` | xz > $UPLOAD_DIR/dmg.tar.xz