From 06195145f16cd4b8171433d2e2ae9f857c56d1dc 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/promunifi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/promunifi/Makefile b/integrations/promunifi/Makefile index 8fc1e1d8..d8707627 100644 --- a/integrations/promunifi/Makefile +++ b/integrations/promunifi/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)