define binary name in promu configuration file (#650)

This commit is contained in:
Christian Will 2017-08-22 08:24:07 -07:00 committed by Johannes 'fish' Ziemke
parent 505275b48c
commit 2ed98fd5a5

View file

@ -3,6 +3,8 @@ go:
repository:
path: github.com/prometheus/node_exporter
build:
binaries:
- name: node_exporter
flags: -a -tags 'netgo static_build'
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}