Update build.ps1

Ignore errors with setting the build version.
This commit is contained in:
Christopher Snowhill 2018-07-24 13:53:14 -07:00 committed by GitHub
parent 637ec27998
commit f1b5a3c51a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ function Build
} }
if($env:APPVEYOR_REPO_BRANCH -ne "master") { $branch = ".$env:APPVEYOR_REPO_BRANCH" } if($env:APPVEYOR_REPO_BRANCH -ne "master") { $branch = ".$env:APPVEYOR_REPO_BRANCH" }
$version = "$commit$prNum$branch" $version = "$commit$prNum$branch"
Update-AppveyorBuild -Version $version Update-AppveyorBuild -Version $version -errorAction SilentlyContinue
} }
if(!(Test-Path $vswhere)) { Init } if(!(Test-Path $vswhere)) { Init }