Skip to content

Commit 59497da

Browse files
authored
Fixed version and other symbol embedding in promu. (#197)
This probably broke when we upgraded to the latest version.
1 parent 5b62317 commit 59497da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.promu.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ build:
1010
path: ./cmd/stackdriver-prometheus-sidecar
1111
flags: -mod=vendor -a -tags netgo
1212
ldflags: |
13-
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
14-
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
15-
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
16-
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
17-
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
13+
-X github.com/prometheus/common/version.Version={{.Version}}
14+
-X github.com/prometheus/common/version.Revision={{.Revision}}
15+
-X github.com/prometheus/common/version.Branch={{.Branch}}
16+
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
17+
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
1818
tarball:
1919
files:
2020
- LICENSE

0 commit comments

Comments
 (0)