From 2ed98fd5a56532db672b57f855a28360a948cdff Mon Sep 17 00:00:00 2001 From: Christian Will Date: Tue, 22 Aug 2017 08:24:07 -0700 Subject: [PATCH] define binary name in promu configuration file (#650) --- .promu.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.promu.yml b/.promu.yml index 35cded5b..f3e72453 100644 --- a/.promu.yml +++ b/.promu.yml @@ -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}}