Skip to content

Commit

Permalink
Build and auto-deploy to launchpad as well as local binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mweisman committed Dec 19, 2012
1 parent 73e28df commit 9544277
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build_geonode-geoserver-ext-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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*

0 comments on commit 9544277

Please sign in to comment.