From b38ecc668ae4bcfaeb2cf76e329a6eb608762125 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 2 Sep 2015 12:33:46 +0200 Subject: [PATCH] Bug 16956: Make explicit error when no version tag is found --- gitian/get-tb-version | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitian/get-tb-version b/gitian/get-tb-version index 9a4a102ccdf9..058a64a395d5 100755 --- a/gitian/get-tb-version +++ b/gitian/get-tb-version @@ -49,5 +49,6 @@ foreach my $commit (run_cmd('git', 'log', '-s', '--format=%H', '-200')) { exit 0; } -print STDERR "Could not find TORBROWSER version from tags\n"; +print STDERR "Could not find TORBROWSER version from tags. Does your git repo have tags ?\n"; +print "exit 1\n"; exit 1;