set release script to stop on the first shell failure

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7240 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Romain Pelisse 2011-09-11 19:14:17 +00:00
parent d1c1863f07
commit 46671ba8b8

View File

@ -23,9 +23,9 @@ if [ -z ${version} ]; then
exit 1
fi
check_dependency ant
check_dependency maven
check_dependency mvn
check_dependency "ant"
check_dependency "maven"
check_dependency "mvn"
echo "building release version ${version}"
@ -39,6 +39,7 @@ echo
echo "Rebuilding everything"
echo
set -e
cd ..
ant -f bin/build.xml dist
status="${?}"