Update command to fetch unbranded Firefox builds
Since the names of the tinderbox builds apparently aren't reliable (e.g., the latest mozilla-release-linux64-add-on-devel and mozilla-beta-linux64-add-on-devel builds are both Firefox 49)
This commit is contained in:
parent
71a7eb2628
commit
822ab99a97
1 changed files with 2 additions and 3 deletions
|
@ -15,9 +15,8 @@ notifications:
|
||||||
install:
|
install:
|
||||||
# Use unbranded builds for 'release' and 'beta'
|
# Use unbranded builds for 'release' and 'beta'
|
||||||
- if [ $FX_CHANNEL != "esr" ]; then
|
- if [ $FX_CHANNEL != "esr" ]; then
|
||||||
TS="`curl -s https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/ | grep mozilla-$FX_CHANNEL | tail -n 1 | sed -r 's/.+add-on-devel\/([0-9]+).+/\1/'`";
|
URL="`curl -s https://wiki.mozilla.org/Addons/Extension_Signing | sed -n -r \"s/.+https?(:\/\/archive.mozilla.org[^ ]+\/mozilla-${FX_CHANNEL}-linux64-add-on-devel\/[0-9]+\/.+.bz2).+/https\1/p\"`"
|
||||||
FN="`curl -s https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/$TS/ | grep add-on-devel.tar.bz2 | head -n 1 | sed -r 's/.+>(firefox-[^<]+).+/\1/g'`";
|
wget -O tarball "$URL"
|
||||||
wget -O tarball "https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-${FX_CHANNEL}-linux64-add-on-devel/$TS/$FN";
|
|
||||||
fi
|
fi
|
||||||
# Use official build for 'esr'
|
# Use official build for 'esr'
|
||||||
- if [ $FX_CHANNEL == "esr" ]; then
|
- if [ $FX_CHANNEL == "esr" ]; then
|
||||||
|
|
Loading…
Reference in a new issue