diff options
author | Tobias Schmidt <ts@soundcloud.com> | 2016-05-04 12:55:24 -0400 |
---|---|---|
committer | Tobias Schmidt <ts@soundcloud.com> | 2016-05-04 12:55:24 -0400 |
commit | e5395edc2f6e424a4c45d1ea5d4301b9a6d1d7ee (patch) | |
tree | 9ce1582d75d32ac9c08ab4d7104e772a16641140 /.promu.yml | |
parent | a3f625397d78f9db82cc360dbd583ec8eea2a201 (diff) | |
parent | 522e5b6ff1b4d801ca94f1f18c0703a8bf943594 (diff) | |
download | prometheus_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.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 |