diff options
author | Steve Durrheimer <s.durrheimer@gmail.com> | 2016-04-30 19:58:17 +0200 |
---|---|---|
committer | Steve Durrheimer <s.durrheimer@gmail.com> | 2016-05-04 08:43:33 +0200 |
commit | 60cbc9efc0ff3a5c25394aeaef0c8df3ebad7037 (patch) | |
tree | 594b54b417bfb9da1ab4cdd0eff21d7a57777f08 /.promu.yml | |
parent | d890b63fb5ebf6144766cd43bf29f0a0e6192491 (diff) | |
download | prometheus_node_collector-60cbc9efc0ff3a5c25394aeaef0c8df3ebad7037.tar.bz2 prometheus_node_collector-60cbc9efc0ff3a5c25394aeaef0c8df3ebad7037.tar.xz prometheus_node_collector-60cbc9efc0ff3a5c25394aeaef0c8df3ebad7037.zip |
Make version informations consistent between prometheus components
This also fixes #231 by adding the '-version' flag
Diffstat (limited to '.promu.yml')
-rw-r--r-- | .promu.yml | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -3,10 +3,11 @@ repository: | |||
3 | path: github.com/prometheus/node_exporter | 3 | path: github.com/prometheus/node_exporter |
4 | build: | 4 | build: |
5 | ldflags: | | 5 | ldflags: | |
6 | -X main.Version={{.Version}} | 6 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} |
7 | -X {{repoPath}}/collector.Version={{.Version}} | 7 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} |
8 | -X {{repoPath}}/collector.Revision={{.Revision}} | 8 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} |
9 | -X {{repoPath}}/collector.Branch={{.Branch}} | 9 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} |
10 | -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} | ||
10 | tarball: | 11 | tarball: |
11 | files: | 12 | files: |
12 | - LICENSE | 13 | - LICENSE |