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 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) {