Permalink
Browse files

Makefile.am: enable matching non-annotated tags

Signed-off-by: Jiaju Zhang <jjzhang@suse.de>
  • Loading branch information...
1 parent 190586e commit 3c3928b3184d9e6312e6cd2b1ce7be6594393249 @jjzhang committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.am
View
@@ -99,7 +99,7 @@ $(SPEC): $(SPEC).in
dirty="" && \
numcomm="0"; \
else \
- gitver="$(shell git describe --abbrev=4 --match='v*' HEAD 2>/dev/null)" && \
+ gitver="$(shell git describe --tags --abbrev=4 --match='v*' HEAD 2>/dev/null)" && \
rpmver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \
alphatag=`echo $$gitver | sed -e "s/.*-//" -e "s/^g//"` && \
vtag=`echo $$gitver | sed -e "s/-.*//g"` && \

0 comments on commit 3c3928b

Please sign in to comment.