forked from phoedos/pmd
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:
parent
d1c1863f07
commit
46671ba8b8
@ -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="${?}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user