зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1492664 - update libdmg-hfsplus to use TASKCLUSTER_ROOT_URL; r=glandium
--HG-- extra : rebase_source : 3a6917e97cdeb2153425c96e06b1e5f85d1782f0 extra : source : 911b4b0fb6835fc7d0caaea5d64a590563ca3104
This commit is contained in:
Родитель
bc68c63ae0
Коммит
baf08548f8
|
@ -31,9 +31,16 @@ make -j$(getconf _NPROCESSORS_ONLN)
|
|||
strip dmg/dmg hfs/hfsplus
|
||||
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
|
||||
Built from ${LIBDMG_REPOSITORY} rev `git rev-parse ${LIBDMG_REV}`.
|
||||
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
|
||||
tar cf - -C $WORKSPACE `basename $STAGE` | xz > $UPLOAD_DIR/dmg.tar.xz
|
||||
|
|
Загрузка…
Ссылка в новой задаче