Setup GitVersion

This commit is contained in:
Calle Pettersson 2016-10-18 14:13:36 +02:00
parent 2fce1541d8
commit 4c39660624
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.exe
VERSION

View File

@ -1 +0,0 @@
0.1.0

View File

@ -12,8 +12,10 @@ install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go get -u github.com/kardianos/govendor
- go get -u github.com/prometheus/promu
- choco install gitversion.portable -y
build_script:
- ps: gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
- govendor test -v +local
- promu build -v .
- ps: |