summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-12-15 20:16:58 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-12-15 20:16:58 +0000
commit8676af5727116521227695c0c29ff1a259c9aa7b (patch)
tree84704d9176c8f791483f4e819c88b5e4c0b2e3ed
parent50b1c4c74692abbbb954b4eb39504dd3d3a964ad (diff)
downloadqpid-python-8676af5727116521227695c0c29ff1a259c9aa7b.tar.gz
QPID-2277: Revert "Removed dotnet from release process"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890970 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbin/release.sh24
1 files changed, 23 insertions, 1 deletions
diff --git a/bin/release.sh b/bin/release.sh
index 084e999362..67c37d9ace 100755
--- a/bin/release.sh
+++ b/bin/release.sh
@@ -36,6 +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"
@@ -81,6 +82,9 @@ for arg in $* ; do
--cpp|-c)
CPP="CPP"
;;
+ --dotnet|-d)
+ DOTNET="DOTNET"
+ ;;
--java|-j)
JAVA="JAVA"
;;
@@ -130,9 +134,10 @@ echo REV:$REV
echo VER:$VER
# If nothing is specified then do it all
-if [ -z "${CLEAN}${PREPARE}${CPP}${JAVA}${RUBY}${PYTHON}${SOURCE}${SIGN}${UPLOAD}" ] ; then
+if [ -z "${CLEAN}${PREPARE}${CPP}${DOTNET}${JAVA}${RUBY}${PYTHON}${SOURCE}${SIGN}${UPLOAD}" ] ; then
PREPARE="PREPARE"
CPP="CPP"
+ DOTNET="DOTNET"
JAVA="JAVA"
RUBY="RUBY"
PYTHON="PYTHON"
@@ -204,6 +209,23 @@ if [ "JAVA" == "$JAVA" ] ; then
cp qpid-${VER}/java/management/client/release/*.tar.gz artifacts/qpid-management-client-${VER}.tar.gz
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 [ "SIGN" == "$SIGN" ] ; then
pushd artifacts
sha1sum *.zip *.gz *.svnversion > SHA1SUM