mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 1492664 - update libdmg-hfsplus to use TASKCLUSTER_ROOT_URL; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D14204 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ca40021360
commit
fec5b6f8ea
@ -31,9 +31,16 @@ make -j$(getconf _NPROCESSORS_ONLN)
|
|||||||
strip dmg/dmg hfs/hfsplus
|
strip dmg/dmg hfs/hfsplus
|
||||||
cp dmg/dmg hfs/hfsplus $STAGE
|
cp dmg/dmg hfs/hfsplus $STAGE
|
||||||
|
|
||||||
|
# duplicate the functionality of taskcluster-lib-urls, but in bash..
|
||||||
|
if [ "$TASKCLUSTER_ROOT_URL" = "https://taskcluster.net" ]; then
|
||||||
|
queue_base='https://queue.taskcluster.net/v1'
|
||||||
|
else
|
||||||
|
queue_base="$TASKCLUSTER_ROOT_URL/api/queue/v1"
|
||||||
|
fi
|
||||||
|
|
||||||
cat >$STAGE/README<<EOF
|
cat >$STAGE/README<<EOF
|
||||||
Built from ${LIBDMG_REPOSITORY} rev `git rev-parse ${LIBDMG_REV}`.
|
Built from ${LIBDMG_REPOSITORY} rev `git rev-parse ${LIBDMG_REV}`.
|
||||||
Source is available as a taskcluster artifact:
|
Source is available as a taskcluster artifact:
|
||||||
https://queue.taskcluster.net/v1/task/$TASK_ID/artifacts/public/libdmg-hfsplus.tar.xz
|
$queue_base/task/$TASK_ID/artifacts/public/libdmg-hfsplus.tar.xz
|
||||||
EOF
|
EOF
|
||||||
tar cf - -C $WORKSPACE `basename $STAGE` | xz > $UPLOAD_DIR/dmg.tar.xz
|
tar cf - -C $WORKSPACE `basename $STAGE` | xz > $UPLOAD_DIR/dmg.tar.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user