Merge pull request #39 from martinlindhe/setup-gitversion

Setup GitVersion
This commit is contained in:
Martin Lindhe
2016-10-18 20:13:13 +02:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -1 +1,2 @@
*.exe
VERSION
-1
View File
@@ -1 +0,0 @@
0.1.0
+2
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: |