mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 22:19:44 -08:00
define binary name in promu configuration file (#650)
This commit is contained in:
parent
505275b48c
commit
2ed98fd5a5
|
@ -3,6 +3,8 @@ go:
|
||||||
repository:
|
repository:
|
||||||
path: github.com/prometheus/node_exporter
|
path: github.com/prometheus/node_exporter
|
||||||
build:
|
build:
|
||||||
|
binaries:
|
||||||
|
- name: node_exporter
|
||||||
flags: -a -tags 'netgo static_build'
|
flags: -a -tags 'netgo static_build'
|
||||||
ldflags: |
|
ldflags: |
|
||||||
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
|
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
|
||||||
|
|
Loading…
Reference in a new issue