mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
build-sys: git describe listed wrong tag
The tag v2.14 was probably done without -a option so it was not recogniced by git describe. To over come this I found easiest to add --tag to git-version-gen. This change should be reverted after a release. Signed-off-by: Sami Kerola <sami.kerola@tomtom.com>
This commit is contained in:
parent
66bfc0d5b2
commit
d75927df39
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ then
|
|||
# directory, and "git describe" output looks sensible, use that to
|
||||
# derive a version string.
|
||||
elif test "`git log -1 --pretty=format:x . 2>&1`" = x \
|
||||
&& v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \
|
||||
|| git describe --abbrev=4 HEAD 2>/dev/null` \
|
||||
&& v=`git describe --tags --abbrev=4 --match='v*' HEAD 2>/dev/null \
|
||||
|| git describe --tags --abbrev=4 HEAD 2>/dev/null` \
|
||||
&& v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \
|
||||
&& case $v in
|
||||
v[0-9]*) ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue