From 95442775696149355d8b347b8cdfbf21db826d4a Mon Sep 17 00:00:00 2001 From: Michael Weisman Date: Wed, 19 Dec 2012 14:34:18 -0800 Subject: [PATCH] Build and auto-deploy to launchpad as well as local binaries --- build_geonode-geoserver-ext-deb.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build_geonode-geoserver-ext-deb.sh b/build_geonode-geoserver-ext-deb.sh index 47a57b0fb88..ac828576aa0 100755 --- a/build_geonode-geoserver-ext-deb.sh +++ b/build_geonode-geoserver-ext-deb.sh @@ -5,6 +5,12 @@ set -e DL_ROOT=/var/www/geoserver GIT_REV=$(git log -1 --pretty=format:%h) +# Build for launchpad +debuild -S +dput ppa:geonode/unstable ../geoserver-geonode_2.0_source.changes +rm ../geoserver-geonode* + +# Re-build local debs debuild if [ -d $DL_ROOT/$GIT_REV ]; then @@ -21,3 +27,4 @@ cp target/geonode-geoserver-ext-*-geoserver-plugin.zip $DL_ROOT/$GIT_REV/. rm -rf $DL_ROOT/latest ln -sf $DL_ROOT/$GIT_REV $DL_ROOT/latest +rm ../geoserver-geonode* \ No newline at end of file