Bug 1894727 - Update pdf.js revision for talos tests with updatebot r=marco

Differential Revision: https://phabricator.services.mozilla.com/D209264
This commit is contained in:
Calixte 2024-05-02 15:51:41 +00:00
parent bb5875be27
commit a3a390c910

View file

@ -44,6 +44,9 @@ rsync -a -v --delete "$ROOT/build/mozcentral/browser/extensions/pdfjs/content/we
ls -R "$ROOT/build/mozcentral/browser/"
cp "$ROOT"/build/mozcentral/browser/locales/en-US/pdfviewer/*.ftl "$GECKO_PATH/toolkit/locales/en-US/toolkit/pdfviewer/" || true
# Update the revision in the toolchains.yml file for the Talos tests.
sed -i -z "s/\(mozilla-pdf\.js.*revision: \)[0-9a-f]*/\1$1/g" "$GECKO_PATH/taskcluster/kinds/fetch/toolchains.yml"
if [ -v PDFJS_TMPDIR ]; then
rm -rf "$PDFJS_TMPDIR"
fi