Bug 1443144 - Fix snap build failure caused by files not being copied into ${WORKSPACE} r=jlorenzo
authorKen VanDine <ken.vandine@canonical.com>
Mon, 05 Mar 2018 14:32:26 +0000
changeset 406559 058cc826edb657a8c11316ea58f8a88b63bd708e
parent 406558 c346238ba09b6cb6c26a2b505f41f49d575c16b4
child 406560 abb61fa06489ddb86ee029c8c0693687c7524353
push id60595
push userjlorenzo@mozilla.com
push dateMon, 05 Mar 2018 15:14:06 +0000
treeherderautoland@058cc826edb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlorenzo
bugs1443144
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1443144 - Fix snap build failure caused by files not being copied into ${WORKSPACE} r=jlorenzo MozReview-Commit-ID: KF1ZH9jZGOf
taskcluster/docker/firefox-snap/runme.sh
--- a/taskcluster/docker/firefox-snap/runme.sh
+++ b/taskcluster/docker/firefox-snap/runme.sh
@@ -44,16 +44,17 @@ locales=$(python3 "$SCRIPT_DIRECTORY/ext
 mkdir -p "$DISTRIBUTION_DIR/extensions"
 for locale in $locales; do
     $CURL -o "$SOURCE_DEST/distribution/extensions/langpack-${locale}@firefox.mozilla.org.xpi" \
         "$CANDIDATES_DIR/${VERSION}-candidates/build${BUILD_NUMBER}/linux-x86_64/xpi/${locale}.xpi"
 done
 
 # Generate snapcraft manifest
 sed -e "s/@VERSION@/${VERSION}/g" -e "s/@BUILD_NUMBER@/${BUILD_NUMBER}/g" snapcraft.yaml.in > "${WORKSPACE}/snapcraft.yaml"
+cp -v "$SCRIPT_DIRECTORY/mime{-handler.xml,apps.list}" "$WORKSPACE"
 cd "${WORKSPACE}"
 snapcraft
 
 mv -- *.snap "$TARGET_FULL_PATH"
 
 cd "$ARTIFACTS_DIR"
 
 # Generate checksums file