MozillaFirefox/create-tar.sh
changeset 1053 893fc4d031d6
parent 1052 7a49806c8dae
child 1056 90e1f32cf034
equal deleted inserted replaced
1046:75893a3d8fbe 1053:893fc4d031d6
     5 # "moz_source_stamp": "c1de04f39fa956cfce83f6065b0e709369215ed5"
     5 # "moz_source_stamp": "c1de04f39fa956cfce83f6065b0e709369215ed5"
     6 # http://ftp.mozilla.org/pub/firefox/candidates/48.0-candidates/build2/l10n_changesets.txt
     6 # http://ftp.mozilla.org/pub/firefox/candidates/48.0-candidates/build2/l10n_changesets.txt
     7 
     7 
     8 CHANNEL="beta"
     8 CHANNEL="beta"
     9 BRANCH="releases/mozilla-$CHANNEL"
     9 BRANCH="releases/mozilla-$CHANNEL"
    10 RELEASE_TAG="FIREFOX_60_0b16_RELEASE"
    10 RELEASE_TAG="FIREFOX_61_0b12_RELEASE"
    11 VERSION="59.99"
    11 VERSION="60.99"
    12 
    12 
    13 # check required tools
    13 # check required tools
    14 test -x /usr/bin/hg || ( echo "hg missing: execute zypper in mercurial"; exit 5 )
    14 test -x /usr/bin/hg || ( echo "hg missing: execute zypper in mercurial"; exit 5 )
    15 test -x /usr/bin/jq || ( echo "jq missing: execute zypper in jq"; exit 5 )
    15 test -x /usr/bin/jq || ( echo "jq missing: execute zypper in jq"; exit 5 )
    16 
    16 
    52 if (($? != 127)); then
    52 if (($? != 127)); then
    53   compression='-Ipixz'
    53   compression='-Ipixz'
    54 fi
    54 fi
    55 
    55 
    56 echo "creating archive..."
    56 echo "creating archive..."
    57 tar $compression -cf firefox-$VERSION-source.tar.xz --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla
    57 tar $compression -cf firefox-$VERSION.source.tar.xz --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla
    58 
    58 
    59 # l10n
    59 # l10n
    60 echo "fetching locales..."
    60 echo "fetching locales..."
    61 test ! -d l10n && mkdir l10n
    61 test ! -d l10n && mkdir l10n
    62 jq -r 'to_entries[]| "\(.key) \(.value|.revision)"' mozilla/browser/locales/l10n-changesets.json | \
    62 jq -r 'to_entries[]| "\(.key) \(.value|.revision)"' mozilla/browser/locales/l10n-changesets.json | \