Bug 1286092 - Enforce USE_STUB_INSTALLER when expecting to build the stub. r=gps

for L10n jobs should run per-push based on the corresponding builds

Differential Revision: https://phabricator.services.mozilla.com/D1407

--HG--
extra : rebase_source : 482c24146f497b994a9473f4a8e5f1c6880c7104
This commit is contained in:
Justin Wood 2018-05-25 13:40:59 -04:00
Родитель 4a7ee168bf
Коммит cae3fbb240
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -22,6 +22,12 @@ if test "$OS_ARCH" = "WINNT"; then
"$MOZ_UPDATE_CHANNEL" = "beta" -o \
"$MOZ_UPDATE_CHANNEL" = "release"; then
if ! test "$MOZ_DEBUG"; then
if ! test "$USE_STUB_INSTALLER"; then
# Expect USE_STUB_INSTALLER from taskcluster for downstream task consistency
echo "ERROR: STUB installer expected to be enabled but"
echo "ERROR: USE_STUB_INSTALLER is not specified in the environment"
exit 1
fi
MOZ_STUB_INSTALLER=1
fi
fi