Using consistent gitversion versions.

This commit is contained in:
Paul Knopf 2018-08-08 03:22:30 -04:00
parent 4273537c7a
commit e0822f9b39
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
install: install:
- choco install gitversion.portable -pre -y - choco install gitversion.portable -pre -y --version 4.0.0-beta0012
before_build: before_build:
- cmd: gitversion > version.json - cmd: gitversion > version.json
- cmd: git submodule update --init - cmd: git submodule update --init

View file

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