Skip to content

Commit

Permalink
Merge pull request #2 from mweisman/deb
Browse files Browse the repository at this point in the history
Build and auto-deploy to launchpad as well as local binaries
  • Loading branch information
Jeffrey Johnson committed Dec 20, 2012
2 parents 6f79232 + 9544277 commit 1975bbe
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 1975bbe

Please sign in to comment.