aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorSteve Durrheimer <s.durrheimer@gmail.com>2016-04-30 19:58:17 +0200
committerSteve Durrheimer <s.durrheimer@gmail.com>2016-05-04 08:43:33 +0200
commit60cbc9efc0ff3a5c25394aeaef0c8df3ebad7037 (patch)
tree594b54b417bfb9da1ab4cdd0eff21d7a57777f08 /.promu.yml
parentd890b63fb5ebf6144766cd43bf29f0a0e6192491 (diff)
downloadprometheus_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.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.promu.yml b/.promu.yml
index aa65811..b8483c7 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -3,10 +3,11 @@ repository:
3 path: github.com/prometheus/node_exporter 3 path: github.com/prometheus/node_exporter
4build: 4build:
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"}}
10tarball: 11tarball:
11 files: 12 files:
12 - LICENSE 13 - LICENSE