diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-01-08 15:27:13 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-01-08 15:27:13 +0000 |
commit | 954be02b4d8c0fa2ed9026ade9afe1d4acf2d952 (patch) | |
tree | cf76cd626fec80d9b9a300e5efeb39c5c82b8f37 | |
parent | 2675b08dcbf51fe2e1806590173087f685690ea6 (diff) | |
download | qpid-python-954be02b4d8c0fa2ed9026ade9afe1d4acf2d952.tar.gz |
updated release script to accept the repo path as an argument
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/M4-RCs@732717 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/bin/release.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/qpid/bin/release.sh b/qpid/bin/release.sh index 9fc9d3712c..bb2292dd44 100755 --- a/qpid/bin/release.sh +++ b/qpid/bin/release.sh @@ -22,17 +22,18 @@ # Script to pull together an Apache Release # -REV=$1 -VER=$2 +SVN=$1 +REV=$2 +VER=$3 -if [ -z "$REV" -o -z "$VER" ]; then - echo "Usage: release.sh <revision> <version>" +if [ -z "$SVN" -o -z "$REV" -o -z "$VER" ]; then + echo "Usage: release.sh <svn-path> <svn-revision> <version>" exit 1 fi set -xe -svn export -r ${REV} https://svn.apache.org/repos/asf/qpid/trunk/qpid qpid-${VER} +svn export -r ${REV} https://svn.apache.org/repos/asf/qpid/${SVN} qpid-${VER} mkdir artifacts |