From 4630f69f177bfd480a5d1f69b21c4d546ba6d3e6 Mon Sep 17 00:00:00 2001 From: Jeff Schroeder Date: Thu, 23 Feb 2017 12:23:33 -0600 Subject: [PATCH] [Makefile] Allow specifying VERSION as an env var This makes specifying the VERSION when building native operating system packages require less hacks. Refs: #811 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9519a186..a8a2ca75 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ ORG_PATH=github.com/coreos REPO_PATH=$(ORG_PATH)/$(PROJ) export PATH := $(PWD)/bin:$(PATH) -VERSION=$(shell ./scripts/git-version) +VERSION ?= $(shell ./scripts/git-version) DOCKER_REPO=quay.io/coreos/dex DOCKER_IMAGE=$(DOCKER_REPO):$(VERSION)