Fix promu build

This commit is contained in:
Calle Pettersson
2017-09-08 10:11:31 +02:00
committed by Calle Pettersson
parent 94caf8ee61
commit caf8742dcd
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
repository:
path: github.com/martinlindhe/wmi_exporter
build:
binaries:
- name: wmi_exporter
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}