diff options
author | 2010-05-11 23:04:47 -0700 | |
---|---|---|
committer | 2010-05-11 23:04:47 -0700 | |
commit | 0e4607c09d72ada4942ea49298dba83ec4145892 (patch) | |
tree | 4041afba9e0fd56d4061582c7fcdb5af98037495 /GIT-VERSION-GEN | |
parent | Merge branch 'maint' (diff) | |
parent | GIT-VERSION-GEN: restrict tags used (diff) | |
download | tgif-0e4607c09d72ada4942ea49298dba83ec4145892.tar.xz |
Merge branch 'maint'
* maint:
GIT-VERSION-GEN: restrict tags used
Diffstat (limited to 'GIT-VERSION-GEN')
-rwxr-xr-x | GIT-VERSION-GEN | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 59219bd6a5..e45513dee9 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -12,7 +12,7 @@ if test -f version then VN=$(cat version) || VN="$DEF_VER" elif test -d .git -o -f .git && - VN=$(git describe --abbrev=4 HEAD 2>/dev/null) && + VN=$(git describe --match "v[0-9]*" --abbrev=4 HEAD 2>/dev/null) && case "$VN" in *$LF*) (exit 1) ;; v[0-9]*) |