mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-15 10:19:31 +00:00
Check for full version in git tag before starting release build
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
207e211214
commit
ff1a3eccd9
1 file changed
+1
-1
+1
-1
@@ -23,7 +23,7 @@ endif
|
||||
|
||||
## Check if tagged in git
|
||||
release-hook:
|
||||
@if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \
|
||||
@if [ ! `git tag -l $(PACKAGE_VERSION) | grep $(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; \
|
||||
|
||||
Reference in new issue
Block a user