comparison contrib/make_flys_release/make_release.sh @ 8866:f5fa2467f9c0 3.2.x

Build script: Do not require branch or tag in all repositories.
author Tom Gottfried <tom@intevation.de>
date Mon, 22 Jan 2018 16:59:03 +0100
parents cd8fce40f151
children e04851177bb7
comparison
equal deleted inserted replaced
8865:0d7c8c943b60 8866:f5fa2467f9c0
149 # Update to current version 149 # Update to current version
150 for repo in $REPOS; do 150 for repo in $REPOS; do
151 cd $repo 151 cd $repo
152 if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ] 152 if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ]
153 then 153 then
154 echo "ERROR: No tag or branch $VERSION found in repository of $repo!" 154 echo "WARNING: No tag or branch $VERSION found in repository of $repo!"
155 exit 1 155 echo " Will fallback to 'default'!"
156 hg up default
156 else 157 else
157 hg up "$VERSION" 158 hg up "$VERSION"
158 fi 159 fi
159 cd $FLYS_SOURCE_DIR 160 cd $FLYS_SOURCE_DIR
160 done 161 done

http://dive4elements.wald.intevation.org