mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Changed Go version to 1.5.1
This commit is contained in:
parent
704e8f76d8
commit
a8fbe6a20d
2
Makefile
2
Makefile
|
@ -13,6 +13,6 @@
|
||||||
|
|
||||||
VERSION := 0.11.0
|
VERSION := 0.11.0
|
||||||
TARGET := node_exporter
|
TARGET := node_exporter
|
||||||
GOFLAGS := -ldflags "-X main.Version $(VERSION)"
|
GOFLAGS := -ldflags "-X main.Version=$(VERSION)"
|
||||||
|
|
||||||
include Makefile.COMMON
|
include Makefile.COMMON
|
||||||
|
|
|
@ -48,7 +48,7 @@ ifeq ($(GOOS),darwin)
|
||||||
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)
|
RELEASE_SUFFIX ?= -osx$(shell sw_vers -productVersion)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GO_VERSION ?= 1.4.2
|
GO_VERSION ?= 1.5.1
|
||||||
GOURL ?= https://golang.org/dl
|
GOURL ?= https://golang.org/dl
|
||||||
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
GOPKG ?= go$(GO_VERSION).$(GOOS)-$(GOARCH)$(RELEASE_SUFFIX).tar.gz
|
||||||
GOPATH := $(CURDIR)/.build/gopath
|
GOPATH := $(CURDIR)/.build/gopath
|
||||||
|
|
Loading…
Reference in a new issue