From ab4c9620ce2b519aefb5c8a66174ac7b53295a6f Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 8 Jan 2009 15:27:24 +0000 Subject: updated release script to accept the repo path as an argument git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@732718 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/bin/release.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'qpid') 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 " +if [ -z "$SVN" -o -z "$REV" -o -z "$VER" ]; then + echo "Usage: release.sh " 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 -- cgit v1.2.1