xulrunner/create-tar.sh
branchesr10
changeset 403 86e36e15dcfb
parent 390 58290bfa7edb
child 429 3771f850eaa9
equal deleted inserted replaced
402:67e6342cfaaa 403:86e36e15dcfb
     1 #!/bin/bash
     1 #!/bin/bash
     2 
     2 
     3 CHANNEL="esr10"
     3 CHANNEL="esr10"
     4 BRANCH="releases/mozilla-$CHANNEL"
     4 BRANCH="releases/mozilla-$CHANNEL"
     5 RELEASE_TAG="FIREFOX_10_0_2esr_RELEASE"
     5 RELEASE_TAG="FIREFOX_10_0_3esr_RELEASE"
     6 VERSION="10.0.2esr"
     6 VERSION="10.0.3"
     7 
     7 
     8 # mozilla
     8 # mozilla
     9 hg clone http://hg.mozilla.org/$BRANCH mozilla
     9 hg clone -r $RELEASE_TAG http://hg.mozilla.org/$BRANCH mozilla
    10 pushd mozilla
    10 pushd mozilla
    11 [ "$RELEASE_TAG" == "default" ] || hg update -r $RELEASE_TAG
       
    12 # get repo and source stamp
    11 # get repo and source stamp
    13 echo -n "REV=" > ../source-stamp.txt
    12 echo -n "REV=" > ../source-stamp.txt
    14 hg -R . parent --template="{node|short}\n" >> ../source-stamp.txt
    13 hg -R . parent --template="{node|short}\n" >> ../source-stamp.txt
    15 echo -n "REPO=" >> ../source-stamp.txt
    14 echo -n "REPO=" >> ../source-stamp.txt
    16 hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" >> ../source-stamp.txt
    15 hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" >> ../source-stamp.txt