mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-27 23:26:37 +00:00
Setup GitVersion
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
*.exe
|
*.exe
|
||||||
|
VERSION
|
||||||
@@ -12,8 +12,10 @@ install:
|
|||||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||||
- go get -u github.com/kardianos/govendor
|
- go get -u github.com/kardianos/govendor
|
||||||
- go get -u github.com/prometheus/promu
|
- go get -u github.com/prometheus/promu
|
||||||
|
- choco install gitversion.portable -y
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
- ps: gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
|
||||||
- govendor test -v +local
|
- govendor test -v +local
|
||||||
- promu build -v .
|
- promu build -v .
|
||||||
- ps: |
|
- ps: |
|
||||||
|
|||||||
Reference in New Issue
Block a user