|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-03-31 13:29:59
Author: danieljames
Date: 2008-03-31 13:29:59 EDT (Mon, 31 Mar 2008)
New Revision: 43962
URL: http://svn.boost.org/trac/boost/changeset/43962
Log:
Add a name variable to the release script, so that I can have different release names in different branches.
Text files modified:
branches/unordered/trunk/release.sh | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
Modified: branches/unordered/trunk/release.sh
==============================================================================
--- branches/unordered/trunk/release.sh (original)
+++ branches/unordered/trunk/release.sh 2008-03-31 13:29:59 EDT (Mon, 31 Mar 2008)
@@ -1,12 +1,15 @@
#!/bin/sh
+NAME=unordered
TARBALL_DIR=~/tarballs
-UNORDERED_DST=$TARBALL_DIR/unordered
+UNORDERED_DST=$TARBALL_DIR/$NAME
+TARBALL=$TARBALL_DIR/$NAME.tar.gz
+ZIPFILE=$TARBALL_DIR/$NAME.zip
mkdir -p $TARBALL_DIR
-rm $TARBALL_DIR/unordered.tar.gz
-rm $TARBALL_DIR/unordered.zip
-rm -rf $TARBALL_DIR/unordered
+rm $TARBALL
+rm $ZIPFILE
+rm -rf $UNORDERED_DST
svn export . $UNORDERED_DST
@@ -19,8 +22,8 @@
rm $UNORDERED_DST/release.sh
cd $TARBALL_DIR
-tar -czf unordered.tar.gz unordered
-zip -r unordered.zip unordered
+tar -czf $TARBALL $NAME
+zip -r $ZIPFILE $NAME
cd -
rm -r $UNORDERED_DST
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk