Skip to content

Commit

Permalink
Fixed version and other symbol embedding in promu. (#197)
Browse files Browse the repository at this point in the history
This probably broke when we upgraded to the latest version.
  • Loading branch information
jkohen authored Nov 15, 2019
1 parent 5b62317 commit 59497da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ build:
path: ./cmd/stackdriver-prometheus-sidecar
flags: -mod=vendor -a -tags netgo
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
tarball:
files:
- LICENSE
Expand Down

0 comments on commit 59497da

Please sign in to comment.