aboutsummaryrefslogtreecommitdiff
path: root/.promu.yml
diff options
context:
space:
mode:
authorChristian Will <chriwill@users.noreply.github.com>2017-08-22 08:24:07 -0700
committerJohannes 'fish' Ziemke <github@freigeist.org>2017-08-22 17:24:07 +0200
commit2ed98fd5a56532db672b57f855a28360a948cdff (patch)
tree34af28f301e5bab8b83d96530bcf5bff6bf407e4 /.promu.yml
parent505275b48c6a7df4db9aab34814a1b16e4b49052 (diff)
downloadprometheus_node_collector-2ed98fd5a56532db672b57f855a28360a948cdff.tar.bz2
prometheus_node_collector-2ed98fd5a56532db672b57f855a28360a948cdff.tar.xz
prometheus_node_collector-2ed98fd5a56532db672b57f855a28360a948cdff.zip
define binary name in promu configuration file (#650)
Diffstat (limited to '.promu.yml')
-rw-r--r--.promu.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.promu.yml b/.promu.yml
index 35cded5..f3e7245 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -3,6 +3,8 @@ go:
3repository: 3repository:
4 path: github.com/prometheus/node_exporter 4 path: github.com/prometheus/node_exporter
5build: 5build:
6 binaries:
7 - name: node_exporter
6 flags: -a -tags 'netgo static_build' 8 flags: -a -tags 'netgo static_build'
7 ldflags: | 9 ldflags: |
8 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} 10 -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}