From 4c39660624b2d7bdc83fcc9f1f6df50f9d0e3fea Mon Sep 17 00:00:00 2001 From: Calle Pettersson Date: Tue, 18 Oct 2016 14:13:36 +0200 Subject: [PATCH] Setup GitVersion --- .gitignore | 1 + VERSION | 1 - appveyor.yml | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 VERSION diff --git a/.gitignore b/.gitignore index b883f1fd..21f99f37 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.exe +VERSION \ No newline at end of file diff --git a/VERSION b/VERSION deleted file mode 100644 index 6e8bf73a..00000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.1.0 diff --git a/appveyor.yml b/appveyor.yml index d30f313b..72b75e23 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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: |