allow devel builds of go to pass make version check

Signed-off-by: George Tankersley <george.tankersley@gmail.com>
This commit is contained in:
George Tankersley 2016-06-07 14:43:53 -07:00
parent a1f1fb449e
commit 53d91279c6
1 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,9 @@ GOOSES = darwin linux
NOTARY_BUILDTAGS ?= pkcs11
NOTARYDIR := /go/src/github.com/docker/notary
GO_VERSION := $(shell go version | grep "1\.[6-9]\(\.[0-9]+\)*")
# check to make sure we have the right version
GO_VERSION := $(shell go version | grep "1\.[6-9]\(\.[0-9]+\)*\|devel")
# check to make sure we have the right version. development versions of Go are
# not officially supported, but allowed for building
ifeq ($(strip $(GO_VERSION))$(SKIPENVCHECK),)
$(error Bad Go version - please install Go >= 1.6)