Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh Mon Jan 22 16:38:32 2018 +0100 +++ b/contrib/make_flys_release/make_release.sh Mon Jan 22 16:59:03 2018 +0100 @@ -151,8 +151,9 @@ cd $repo if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ] then - echo "ERROR: No tag or branch $VERSION found in repository of $repo!" - exit 1 + echo "WARNING: No tag or branch $VERSION found in repository of $repo!" + echo " Will fallback to 'default'!" + hg up default else hg up "$VERSION" fi