diff options
Diffstat (limited to '.promu.yml')
-rw-r--r-- | .promu.yml | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,10 +4,11 @@ repository: | |||
4 | build: | 4 | build: |
5 | flags: -a -tags 'netgo static_build' | 5 | flags: -a -tags 'netgo static_build' |
6 | ldflags: | | 6 | ldflags: | |
7 | -X main.Version={{.Version}} | 7 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} |
8 | -X {{repoPath}}/collector.Version={{.Version}} | 8 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} |
9 | -X {{repoPath}}/collector.Revision={{.Revision}} | 9 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} |
10 | -X {{repoPath}}/collector.Branch={{.Branch}} | 10 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} |
11 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} | ||
11 | tarball: | 12 | tarball: |
12 | files: | 13 | files: |
13 | - LICENSE | 14 | - LICENSE |