changeset 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 0d7c8c943b60
children de423c2a3c1b
files contrib/make_flys_release/make_release.sh
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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

http://dive4elements.wald.intevation.org