From f25ce1bc941e3ce47314d10f2accb13ec039f23d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Dec 2007 19:03:00 +0100 Subject: [PATCH] * Makefile.maint (vc-tag-check): Correct check for existing git tag. --- ChangeLog | 2 ++ Makefile.maint | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73c5596..4c5e129 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-01 Jim Meyering + * Makefile.maint (vc-tag-check): Correct check for existing git tag. + Defer NEWS and ChangeLog checks until after the version-changing tag. * Makefile.maint (alpha beta major): Don't depend on the news-date-check changelog-check targets. They must fail before diff --git a/Makefile.maint b/Makefile.maint index e5b4e0b..7a7326d 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -522,7 +522,7 @@ vc-tag-check: $(CVS) -n log -h README|grep -e $(this-vc-tag-regexp): >/dev/null \ && used=yes; \ else \ - $(GIT) tag -l '^$(this-vc-tag-regexp)$$' && used=yes; \ + test -n `$(GIT) tag -l '$(this-vc-tag)'` && used=yes; \ fi; \ if test "$$used" = yes; then \ echo "$(this-vc-tag) has already been used; not tagging" 1>&2; \ -- 2.7.4