makefile: update Makefile.common with newer version (#514)
authorPrometheusBot <prometheus-team@googlegroups.com>
Sat, 31 Aug 2019 00:23:25 +0000 (02:23 +0200)
committerBrian Brazil <brian.brazil@robustperception.io>
Sat, 31 Aug 2019 00:23:25 +0000 (01:23 +0100)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Makefile.common

index 48d2ff84e9f72ce7928fc276098ee4a6528245b7..848d27e765dff2d998d330b957a1df32441dc31c 100644 (file)
@@ -74,7 +74,7 @@ PROMU_URL     := https://github.com/prometheus/promu/releases/download/v$(PROMU_
 
 GOLANGCI_LINT :=
 GOLANGCI_LINT_OPTS ?=
-GOLANGCI_LINT_VERSION ?= v1.16.0
+GOLANGCI_LINT_VERSION ?= v1.17.1
 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
 # windows isn't included here because of the path separator being different.
 ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
@@ -201,7 +201,7 @@ endif
 .PHONY: common-build
 common-build: promu
        @echo ">> building binaries"
-       GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX)
+       GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
 
 .PHONY: common-tarball
 common-tarball: promu