aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
Diffstat (limited to '.promu.yml')
-rw-r--r--.promu.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.promu.yml b/.promu.yml
index 4f03be9..0f22be3 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -4,10 +4,11 @@ repository:
4build: 4build:
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"}}
11tarball: 12tarball:
12 files: 13 files:
13 - LICENSE 14 - LICENSE