From a8fbe6a20d1574f650ac1f1afff2127698afa9c8 Mon Sep 17 00:00:00 2001 From: Eric Ripa Date: Fri, 28 Aug 2015 23:30:27 +0200 Subject: [PATCH] Changed Go version to 1.5.1 --- Makefile | 2 +- Makefile.COMMON | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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