From f4bed7767d11c1c898b3e9895493c519f6d1d0e9 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Fri, 18 May 2018 11:48:51 -0500 Subject: [PATCH] Use lazy assignment for VERSION_ID so enterprise flag is set appropriately. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15caef8dd..3f17f0b2e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CLONE_URL=github.com/pilosa/pilosa VERSION := $(shell git describe --tags 2> /dev/null || echo unknown) -VERSION_ID := $(if $(ENTERPRISE_ENABLED),enterprise-)$(VERSION)-$(GOOS)-$(GOARCH) +VERSION_ID = $(if $(ENTERPRISE_ENABLED),enterprise-)$(VERSION)-$(GOOS)-$(GOARCH) BRANCH := $(if $(TRAVIS_BRANCH),$(TRAVIS_BRANCH),$(shell git rev-parse --abbrev-ref HEAD)) BRANCH_ID := $(BRANCH)-$(GOOS)-$(GOARCH) BUILD_TIME := $(shell date -u +%FT%T%z)