Browse Source

[Makefile] Allow specifying VERSION as an env var

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

Refs: #811
pull/813/head
Jeff Schroeder 9 years ago committed by GitHub
parent
commit
4630f69f17
  1. 2
      Makefile

2
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)

Loading…
Cancel
Save