appveyor: build using promu to embed branch and revision info into binary

This commit is contained in:
Martin Lindhe 2016-10-13 09:07:41 +02:00
parent 2fa997dc7e
commit c5d7bb8375

View File

@ -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