From 2ceec8e61cb0058a61239b9ac45861b703c9c1cf Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 3 Oct 2021 08:32:45 +0200 Subject: [PATCH] Check for tag with 'v' prefix in release-hook Signed-off-by: Joachim Wiberg --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 3e1f0ce..014a2a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ endif ## Check if tagged in git release-hook: - @if [ ! `git tag -l $(PACKAGE_VERSION) | grep $(PACKAGE_VERSION)` ]; then \ + @if [ ! `git tag -l v$(PACKAGE_VERSION) | grep v$(PACKAGE_VERSION)` ]; then \ echo; \ printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \ printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \