diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-06-26 13:14:23 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-06-26 13:14:23 +0800 |
commit | 0f866835e07455a635272002fe3ec3b2c7e24844 (patch) | |
tree | 56892f2acab2d1ac35719ab2bcaf8db8e9bda94c /make_version.sh | |
parent | 9df8fa664359cf8e4306e2eca7cf33614e953f68 (diff) | |
download | talos-skiboot-0f866835e07455a635272002fe3ec3b2c7e24844.tar.gz talos-skiboot-0f866835e07455a635272002fe3ec3b2c7e24844.zip |
support make_version.sh not having tags, this tripped up travis-ci
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'make_version.sh')
-rwxr-xr-x | make_version.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/make_version.sh b/make_version.sh index f6408695..95058cb9 100755 --- a/make_version.sh +++ b/make_version.sh @@ -23,9 +23,7 @@ then #Check that there is at least one of such a prefix if ! git tag | grep -q "$TAG_PREFIX" ; then - echo -e "There isn't a single gix tag with prefix '$TAG_PREFIX'\n" - usage - exit 1; + echo -e "There isn't a single gix tag with prefix '$TAG_PREFIX'\n" > stderr fi version=`git describe --exact-match --match "$TAG_PREFIX-*" 2>/dev/null` |