mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-30 11:24:30 +00:00
appveyor: build using promu to embed branch and revision info into binary
This commit is contained in:
parent
2fa997dc7e
commit
c5d7bb8375
@ -11,10 +11,11 @@ install:
|
||||
- go version
|
||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||
- go get -u github.com/kardianos/govendor
|
||||
- go get -u github.com/prometheus/promu
|
||||
|
||||
build_script:
|
||||
- govendor build -v +p
|
||||
- govendor test -v +local
|
||||
- promu build -v .
|
||||
- ps: |
|
||||
if($env:APPVEYOR_REPO_TAG -eq "True") {
|
||||
# The MSI version is not semver compliant, so just take the numerical parts
|
||||
|
Loading…
Reference in New Issue
Block a user