Skip to content

Commit

Permalink
Merge pull request #85 from nats-io/release/v0.4.0
Browse files Browse the repository at this point in the history
Release/v0.4.0
  • Loading branch information
wallyqs committed Jun 25, 2019
2 parents 84dac22 + 988655b commit ee177ad
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/linux/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion prometheus_nats_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ee177ad

Please sign in to comment.