MozillaFirefox/create-tar.sh
branchfirefox31
changeset 755 8aa069920665
parent 750 e996b96840ba
child 770 a17aa3347767
equal deleted inserted replaced
754:b294bc0cb51e 755:8aa069920665
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 CHANNEL="release"
     3 CHANNEL="esr31"
     4 BRANCH="releases/mozilla-$CHANNEL"
     4 BRANCH="releases/mozilla-$CHANNEL"
     5 RELEASE_TAG="FIREFOX_31_0_RELEASE"
     5 RELEASE_TAG="FIREFOX_31_1_0esr_RELEASE"
     6 VERSION="31.0"
     6 VERSION="31.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..."