Project

General

Profile

« Previous | Next » 

Revision adb9803a

Added by Andreas Kohlbecker over 11 years ago

turn of bash 'exit script on failure' to stop from failing with new svn release tags

View differences:

7.x/modules/cdm_dataportal/jenkins-ci/deploy.sh
19 19
fi
20 20

  
21 21
# check if tag exists
22
set +e # turn of "exit script on failure", since we expect that svn tags may not always exist
22 23
TAG_EXISTS=(`svn info http://dev.e-taxonomy.eu/svn/tags/drupal/module-cdm_dataportal/$VERSION 2> /dev/null | grep URL`)
24
set -e # turn on again "exit script on failure"
25

  
23 26
if [ -z "$TAG_EXISTS" ]; then
24 27
	# it is a new version number ...
25 28

  

Also available in: Unified diff