MozillaFirefox/create-tar.sh
branchfirefox52
changeset 957 b28ad21f195e
parent 950 266ac4247974
child 968 5581eb3d07e1
equal deleted inserted replaced
950:266ac4247974 957:b28ad21f195e
     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="esr52"
     8 CHANNEL="esr52"
     9 BRANCH="releases/mozilla-$CHANNEL"
     9 BRANCH="releases/mozilla-$CHANNEL"
    10 RELEASE_TAG="FIREFOX_52_0_1esr_RELEASE"
    10 RELEASE_TAG="7beb59bc3482523ad6811fd3984949204d763810"
    11 VERSION="52.0.1"
    11 VERSION="52.1.0"
    12 
    12 
    13 # mozilla
    13 # mozilla
    14 if [ -d mozilla ]; then
    14 if [ -d mozilla ]; then
    15   pushd mozilla
    15   pushd mozilla
    16   _repourl=$(hg paths)
    16   _repourl=$(hg paths)
    52       ;;
    52       ;;
    53     *)
    53     *)
    54       echo "reading changeset information for $locale"
    54       echo "reading changeset information for $locale"
    55       _changeset=$(grep ^$locale l10n_changesets.txt | awk '{ print $2; }')
    55       _changeset=$(grep ^$locale l10n_changesets.txt | awk '{ print $2; }')
    56       echo "fetching $locale changeset $_changeset ..."
    56       echo "fetching $locale changeset $_changeset ..."
    57       hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale
    57       hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale
    58       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $_changeset
    58       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $_changeset
    59       ;;
    59       ;;
    60   esac
    60   esac
    61 done
    61 done
    62 echo "creating l10n archive..."
    62 echo "creating l10n archive..."