Ottomata has uploaded a new change for review.
https://gerrit.wikimedia.org/r/97545
Change subject: Adding --always flag to git describe.
......................................................................
Adding --always flag to git describe.
This avoids 'fatal: No names found, cannot describe anything.' warnings
when there are no git tags.
Change-Id: Id74bc53476e04c07ee3fd64047d611f82723928c
---
M Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/operations/software/varnish/varnishkafka
refs/changes/45/97545/1
diff --git a/Makefile b/Makefile
index 41642a8..c398e30 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
# Let packagers override version and default configuration file path
# through VER and CFPATH env variables.
ifeq (,${VER})
-VER := `git describe --abbrev=6 --tags HEAD`
+VER := `git describe --abbrev=6 --tags HEAD --always`
endif
ifeq (,${CFPATH})
--
To view, visit https://gerrit.wikimedia.org/r/97545
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id74bc53476e04c07ee3fd64047d611f82723928c
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/varnish/varnishkafka
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits