aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools/git_version_gen.sh
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-01-24 20:51:06 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-01-24 20:51:06 +0800
commit8cb051d44d86c19d6ccc9881e3711a1cc26db94c (patch)
tree36c32b3edb70e654c79f4ddd4db59222d8e873fe /build_tools/git_version_gen.sh
parent535445a55523a142cdf34071ddb1f3a1c3af1376 (diff)
use annotated tags only for version checking
Note: if you have previously cloned the repository, the tags for previous versions have been edited. Use `git fetch --tags` to synchronise your local copy.
Diffstat (limited to 'build_tools/git_version_gen.sh')
-rwxr-xr-xbuild_tools/git_version_gen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/git_version_gen.sh b/build_tools/git_version_gen.sh
index 3ffd0eb2..a2c337be 100755
--- a/build_tools/git_version_gen.sh
+++ b/build_tools/git_version_gen.sh
@@ -14,7 +14,7 @@ then
VN=$(cat version) || VN="$DEF_VER"
elif test -d .git -o -f .git && type git >/dev/null
then
- VN=$(git describe --tags --dirty 2>/dev/null)
+ VN=$(git describe --dirty 2>/dev/null)
else
VN="$DEF_VER"
fi