diff options
author | Robert Gemmell <robbie@apache.org> | 2011-10-24 20:35:14 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2011-10-24 20:35:14 +0000 |
commit | 51658de6a073ec0907ee6217b20c4e291fc5b38d (patch) | |
tree | 031e6efbfa935791b5fc85e7d8931747c81e15f1 | |
parent | ba3d80cb24bbee3f6a548e03b2c3c6277ff337fd (diff) | |
download | qpid-python-51658de6a073ec0907ee6217b20c4e291fc5b38d.tar.gz |
NO-JIRA: tidy up the release script, fully remove old dotnet + ruby modules and finish off the qmf + tools module additions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1188362 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/bin/release.sh | 61 |
1 files changed, 16 insertions, 45 deletions
diff --git a/qpid/bin/release.sh b/qpid/bin/release.sh index 949cb57358..764119bd75 100755 --- a/qpid/bin/release.sh +++ b/qpid/bin/release.sh @@ -36,9 +36,7 @@ usage() echo "--all |-a : Generate all artefacts" echo "--source|-e : Generate the source artefact" echo "--cpp |-c : Generate the CPP artefacts" - echo "--dotnet|-d : Generate the dotnet artefacts" echo "--java |-j : Generate the java artefacts" - echo "--ruby |-r : Generate the ruby artefacts" echo "--python|-p : Generate the python artefacts" echo "--wcf |-w : Generate the WCF artefacts" echo "--tools |-t : Generate the tools artefacts" @@ -49,6 +47,19 @@ usage() echo } +all_artefacts() +{ + echo ALL_ARTEFACTS + + CPP="CPP" + JAVA="JAVA" + PYTHON="PYTHON" + WCF="WCF" + TOOLS="TOOLS" + QMF="QMF" + SOURCE="SOURCE" +} + REPO="SVN" for arg in $* ; do case $arg in @@ -75,26 +86,14 @@ for arg in $* ; do SIGN="SIGN" ;; --all|-a) - CPP="CPP" - JAVA="JAVA" - PYTHON="PYTHON" - WCF="WCF" - TOOLS="TOOLS" - QMF="QMF" - SOURCE="SOURCE" + all_artefacts ;; --cpp|-c) CPP="CPP" ;; - --dotnet|-d) - DOTNET="DOTNET" - ;; --java|-j) JAVA="JAVA" ;; - --ruby|-r) - RUBY="RUBY" - ;; --python|-p) PYTHON="PYTHON" ;; @@ -147,16 +146,9 @@ echo REV:$REV echo VER:$VER # If nothing is specified then do it all -if [ -z "${CLEAN}${PREPARE}${CPP}${DOTNET}${JAVA}${RUBY}${PYTHON}${WCF}${SOURCE}${SIGN}${UPLOAD}" ] ; then +if [ -z "${CLEAN}${PREPARE}${CPP}${JAVA}${PYTHON}${QMF}${TOOLS}${WCF}${SOURCE}${SIGN}${UPLOAD}" ] ; then PREPARE="PREPARE" - CPP="CPP" - DOTNET="DOTNET" - JAVA="JAVA" - RUBY="RUBY" - PYTHON="PYTHON" - WCF="WCF" - SOURCE="SOURCE" - + all_artefacts SIGN="SIGN" fi @@ -192,10 +184,6 @@ if [ "SOURCE" == "$SOURCE" ] ; then tar -czf artifacts/qpid-${VER}.tar.gz qpid-${VER} fi -if [ "RUBY" == "$RUBY" ] ; then - tar -czf artifacts/qpid-ruby-${VER}.tar.gz qpid-${VER}/ruby qpid-${VER}/specs -fi - if [ "PYTHON" == "$PYTHON" ] ; then tar -czf artifacts/qpid-python-${VER}.tar.gz qpid-${VER}/python qpid-${VER}/specs fi @@ -230,23 +218,6 @@ if [ "JAVA" == "$JAVA" ] ; then cp -a qpid-${VER}/java/common/release/maven artifacts/ fi -if [ "DOTNET" == "$DOTNET" ] ; then - pushd qpid-${VER}/dotnet - cd Qpid.Common - ant - cd .. - ./build-nant-release mono-2.0 - - cd client-010/gentool - ant - cd .. - nant -t:mono-2.0 release-pkg - popd - - cp qpid-${VER}/dotnet/bin/mono-2.0/release/*.zip artifacts/qpid-dotnet-0-8-${VER}.zip - cp qpid-${VER}/dotnet/client-010/bin/mono-2.0/debug/*.zip artifacts/qpid-dotnet-0-10-${VER}.zip -fi - if [ "TOOLS" = "$TOOLS" ] ; then pushd qpid-${VER}/tools |