Update tag check in release-hook to prevent false positives
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
340538ecaa
commit
262ffea56b
@ -37,7 +37,7 @@ endif
|
|||||||
# Check if tagged in git
|
# Check if tagged in git
|
||||||
#
|
#
|
||||||
release-hook:
|
release-hook:
|
||||||
@if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \
|
@if [ ! `git tag -l v$(PACKAGE_VERSION) | grep $(PACKAGE_VERSION)` ]; then \
|
||||||
echo; \
|
echo; \
|
||||||
printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \
|
printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \
|
||||||
printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \
|
printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \
|
||||||
|
Loading…
Reference in New Issue
Block a user