From 5eeab9d6b9d56f9f24e2bcd1414afe7bee78e092 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 7 Jul 2019 21:26:43 -0700 Subject: [PATCH] Fix iteration. --- integrations/inputunifi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/inputunifi/Makefile b/integrations/inputunifi/Makefile index 8fc1e1d8..d8707627 100644 --- a/integrations/inputunifi/Makefile +++ b/integrations/inputunifi/Makefile @@ -17,7 +17,7 @@ CONFIG_FILE=up.conf # md2roff turns markdown into man files and html files. MD2ROFF_BIN=github.com/github/hub/md2roff-bin # This produces a 0 in some envirnoments (like Docker), but it's only used for packages. -ITERATION:=$(shell git rev-list --count HEAD || echo 0) +ITERATION:=$(shell git rev-list --count -all || echo 0) # Travis CI passes the version in. Local builds get it from the current git tag. ifeq ($(VERSION),) VERSION:=$(shell git tag -l --merged | tail -n1 | tr -d v || echo development)