[PATCH] Importer-packaging: just a warning would end up with a package that really looks like VERSION
Wald Commits
scm-commit at wald.intevation.org
Thu May 7 15:17:09 CEST 2015
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1431004604 -7200
# Node ID f7007b1aaa3f1c211c16c92a84fbd79a489308c8
# Parent a3023895ee4a922612eb5d66feb913924701a6ab
Importer-packaging: just a warning would end up with a package that really looks like VERSION.
diff -r a3023895ee4a -r f7007b1aaa3f contrib/make_flys_release/bin/make-importer-package.sh
--- a/contrib/make_flys_release/bin/make-importer-package.sh Thu May 07 09:52:56 2015 +0200
+++ b/contrib/make_flys_release/bin/make-importer-package.sh Thu May 07 15:16:44 2015 +0200
@@ -66,8 +66,8 @@
cd ${SOURCE_DIR}
if [ -z "`hg tags | sed -n "/$VERSION/p"`" -a -z "`hg branches | sed -n "/$VERSION/p"`" ]
then
- echo "WARNING: $VERSION not found in $repo! Updating to default."
- hg up default
+ echo "ERROR: No tag or branch $VERSION found in repository of $repo!"
+ exit 1
else
hg up "$VERSION"
fi
More information about the Dive4Elements-commits
mailing list