Commit 4630f69f authored by Jeff Schroeder's avatar Jeff Schroeder Committed by GitHub

[Makefile] Allow specifying VERSION as an env var

This makes specifying the VERSION when building native operating system packages require less hacks.

Refs: #811
parent af0d9ceb
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment