From 9e381a9d505f89e6b2f35d92673026f53fa1842c Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 11 Dec 2019 16:56:42 -0800 Subject: [PATCH] devops(firefox): move packaging to archive.sh --- browser_patches/firefox/archive.sh | 3 +++ browser_patches/firefox/build.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/browser_patches/firefox/archive.sh b/browser_patches/firefox/archive.sh index 278ba9fd8c..1c845e4b1a 100755 --- a/browser_patches/firefox/archive.sh +++ b/browser_patches/firefox/archive.sh @@ -43,6 +43,9 @@ if [[ $OBJ_FOLDER == "" ]]; then echo "ERROR: cannot find obj-* folder in the checkout/. Did you build?" exit 1; fi + +./mach package + if ! [[ -d $OBJ_FOLDER/dist/firefox ]]; then echo "ERROR: cannot find $OBJ_FOLDER/dist/firefox folder in the checkout/. Did you build?" exit 1; diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index ca64f909b5..d784be4df7 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -37,4 +37,3 @@ else fi ./mach build -./mach package