MozillaFirefox/create-tar.sh
branchfirefox38
changeset 865 646495e9e721
parent 854 74b775d6b911
child 873 b8713c1e2156
equal deleted inserted replaced
860:431252700c45 865:646495e9e721
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 CHANNEL="release"
     3 CHANNEL="esr38"
     4 BRANCH="releases/mozilla-$CHANNEL"
     4 BRANCH="releases/mozilla-$CHANNEL"
     5 RELEASE_TAG="FIREFOX_38_0_6_RELEASE"
     5 RELEASE_TAG="FIREFOX_38_1_0esr_RELEASE"
     6 VERSION="38.0.6"
     6 VERSION="38.1.0"
     7 
     7 
     8 # mozilla
     8 # mozilla
     9 if [ -d mozilla ]; then
     9 if [ -d mozilla ]; then
    10   pushd mozilla
    10   pushd mozilla
    11   _repourl=$(hg paths)
    11   _repourl=$(hg paths)
    45   case $locale in
    45   case $locale in
    46     ja-JP-mac|en-US)
    46     ja-JP-mac|en-US)
    47       ;;
    47       ;;
    48     *)
    48     *)
    49       echo "fetching $locale ..."
    49       echo "fetching $locale ..."
    50       hg clone http://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$locale l10n/$locale
    50       hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale
    51       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
    51       [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
    52       ;;
    52       ;;
    53   esac
    53   esac
    54 done
    54 done
    55 echo "creating l10n archive..."
    55 echo "creating l10n archive..."