Updated to stable GitVersion.CommandLine.

This commit is contained in:
Max Mommersteeg 2018-12-24 08:57:19 +01:00
parent f7c8ba0da3
commit 2b3a6aaa8f
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
image: Visual Studio 2017
install:
- choco install gitversion.portable -pre -y --version 4.0.0-beta0012
- choco install gitversion.portable -pre -y --version 4.0.0
before_build:
- cmd: rm -r C:\Tools\GitVersion\
- cmd: gitversion > version.json

View file

@ -4,8 +4,8 @@ set -e
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# Before we run the build, get gitversion and generate a version.json.
nuget install GitVersion.CommandLine -Version 4.0.0-beta0012
mono ./GitVersion.CommandLine.4.0.0-beta0012/tools/GitVersion.exe > version.json
nuget install GitVersion.CommandLine -Version 4.0.0
mono ./GitVersion.CommandLine.4.0.0/tools/GitVersion.exe > version.json
if [ "$TRAVIS_OS_NAME" == "linux" ]; then