# HG changeset patch # User Wolfgang Rosenauer # Date 1316005808 -7200 # Node ID 9e72118c861cfe9c91e7559c19a0f51ea948eed9 # Parent f05d51264cb63539dd8c9214f48bc2ff72bb5717 create-tar.sh pulls correct sources diff -r f05d51264cb6 -r 9e72118c861c xulrunner/create-tar.sh --- a/xulrunner/create-tar.sh Wed Sep 14 15:08:50 2011 +0200 +++ b/xulrunner/create-tar.sh Wed Sep 14 15:10:08 2011 +0200 @@ -1,15 +1,20 @@ #!/bin/bash -BRANCH="mozilla-central" -RELEASE_TAG="default" -VERSION="2.2a" +BRANCH="releases/mozilla-release" +RELEASE_TAG="FIREFOX_6_0_2_RELEASE" +VERSION="6.0.2" # mozilla hg clone http://hg.mozilla.org/$BRANCH mozilla pushd mozilla [ "$RELEASE_TAG" == "default" ] || hg update -r $RELEASE_TAG +# get repo and source stamp +echo -n "REV=" > ../source-stamp.txt +hg -R . parent --template="{node|short}\n" >> ../source-stamp.txt +echo -n "REPO=" >> ../source-stamp.txt +hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" >> ../source-stamp.txt popd -tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla +tar cjf xulrunner-$VERSION-source.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla # l10n test ! -d l10n && mkdir l10n @@ -18,7 +23,7 @@ ja-JP-mac|en-US) ;; *) - hg clone http://hg.mozilla.org/l10n-central/$locale l10n/$locale + hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale [ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG ;; esac