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 | 517bf68b2f290a915708c16026ea826ea7afcf70 (patch) | |
| tree | 8deadb60196a3660105af7ff0729107bbe211fb7 /bin | |
| parent | 9f1aa6c15240a758f7808e60980bb8e94ac55ca1 (diff) | |
| download | qpid-python-517bf68b2f290a915708c16026ea826ea7afcf70.tar.gz | |
updated release script to accept the repo path as an argument
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/release.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/release.sh b/bin/release.sh index 9fc9d3712c..bb2292dd44 100755 --- a/bin/release.sh +++ b/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 |
