diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2009-01-08 15:27:24 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2009-01-08 15:27:24 +0000 |
| commit | ab4c9620ce2b519aefb5c8a66174ac7b53295a6f (patch) | |
| tree | 1a0afc09f9383f3ce04698df56e11416cbc19b63 | |
| parent | ca74a07a2f31f3174cdec04bbf8704329f7bce6d (diff) | |
| download | qpid-python-ab4c9620ce2b519aefb5c8a66174ac7b53295a6f.tar.gz | |
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
| -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 |
