From 54509e4881fe9e50ce080b69f5ebdb167fde0960 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Mon, 24 Jun 2019 16:09:31 -0700 Subject: [PATCH 1/2] Bump version Signed-off-by: Waldemar Quevedo --- prometheus_nats_exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus_nats_exporter.go b/prometheus_nats_exporter.go index 987543fb..0d72d80e 100644 --- a/prometheus_nats_exporter.go +++ b/prometheus_nats_exporter.go @@ -27,7 +27,7 @@ import ( "github.com/nats-io/prometheus-nats-exporter/exporter" ) -var version = "dev" +var version = "0.4.0" // parseServerIDAndURL parses the url argument the optional id for the server ID. func parseServerIDAndURL(urlArg string) (string, string, error) { From 988655be82fd3a87a8270ac4914cee198760bb33 Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Mon, 24 Jun 2019 16:20:27 -0700 Subject: [PATCH 2/2] Update Docker images version --- docker/linux/amd64/Dockerfile | 2 +- docker/linux/arm32v7/Dockerfile | 2 +- docker/linux/arm64v8/Dockerfile | 2 +- docker/windows/amd64/nanoserver/Dockerfile | 2 +- docker/windows/amd64/windowsservercore/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/linux/amd64/Dockerfile b/docker/linux/amd64/Dockerfile index 47586560..e974566e 100644 --- a/docker/linux/amd64/Dockerfile +++ b/docker/linux/amd64/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.12 # download the source WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter -RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git . +RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git . # build RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w" diff --git a/docker/linux/arm32v7/Dockerfile b/docker/linux/arm32v7/Dockerfile index 33e9a171..6fa244ae 100644 --- a/docker/linux/arm32v7/Dockerfile +++ b/docker/linux/arm32v7/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.12 # download the source WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter -RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git . +RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git . # build RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w" diff --git a/docker/linux/arm64v8/Dockerfile b/docker/linux/arm64v8/Dockerfile index 0d8e7378..dc60107c 100644 --- a/docker/linux/arm64v8/Dockerfile +++ b/docker/linux/arm64v8/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.12 # download the source WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter -RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git . +RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git . # build RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w" diff --git a/docker/windows/amd64/nanoserver/Dockerfile b/docker/windows/amd64/nanoserver/Dockerfile index 6a4cac68..56963908 100644 --- a/docker/windows/amd64/nanoserver/Dockerfile +++ b/docker/windows/amd64/nanoserver/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.12 # download the source WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter -RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git . +RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git . # build RUN go build -v -a -tags netgo -installsuffix netgo diff --git a/docker/windows/amd64/windowsservercore/Dockerfile b/docker/windows/amd64/windowsservercore/Dockerfile index 755b6a70..7b50b615 100644 --- a/docker/windows/amd64/windowsservercore/Dockerfile +++ b/docker/windows/amd64/windowsservercore/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.12 # download the source WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter -RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git . +RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git . # build RUN go build -v -a -tags netgo -installsuffix netgo