diff --git a/Makefile b/Makefile index 14f421a1..fbfc28b4 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,6 @@ VERSION := 0.11.0 TARGET := node_exporter -GOFLAGS := -ldflags "-X main.Version $(VERSION)" +GOFLAGS := -ldflags "-X main.Version=$(VERSION)" include Makefile.COMMON diff --git a/Makefile.COMMON b/Makefile.COMMON index 81331606..35ff309e 100644 --- a/Makefile.COMMON +++ b/Makefile.COMMON @@ -48,7 +48,7 @@ ifeq ($(GOOS),darwin) RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion) endif -GO_VERSION ?= 1.4.2 +GO_VERSION ?= 1.5.1 GOURL ?= https://golang.org/dl GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz GOPATH := $(CURDIR)/.build/gopath