aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorTobias Schmidt <ts@soundcloud.com>2016-05-04 12:55:24 -0400
committerTobias Schmidt <ts@soundcloud.com>2016-05-04 12:55:24 -0400
commite5395edc2f6e424a4c45d1ea5d4301b9a6d1d7ee (patch)
tree9ce1582d75d32ac9c08ab4d7104e772a16641140 /.promu.yml
parenta3f625397d78f9db82cc360dbd583ec8eea2a201 (diff)
parent522e5b6ff1b4d801ca94f1f18c0703a8bf943594 (diff)
downloadprometheus_node_collector-e5395edc2f6e424a4c45d1ea5d4301b9a6d1d7ee.tar.bz2
prometheus_node_collector-e5395edc2f6e424a4c45d1ea5d4301b9a6d1d7ee.tar.xz
prometheus_node_collector-e5395edc2f6e424a4c45d1ea5d4301b9a6d1d7ee.zip
Merge pull request #236 from sdurrheimer/refactor-version-informations
Make version informations consistent between prometheus components
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