forked from phoedos/pmd
ensure that release script fails when ant build fails
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7238 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
0b23f48cf4
commit
75201a5a60
@ -41,6 +41,12 @@ echo
|
||||
|
||||
cd ..
|
||||
ant -f bin/build.xml dist
|
||||
status="${?}"
|
||||
|
||||
if [ ${status} -ne 0 ]; then
|
||||
echo "build failed - aborting release"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Press [enter] to generate docs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user