Merge pull request #1963 from RaiKoHoff/RC1

Use short version of Commit ID
This commit is contained in:
Pairi Daiza 2020-02-10 17:12:10 +01:00 committed by GitHub
commit a44bd2b356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ try
$Minor = [int]$(Get-Date -format yy)
$Revis = [int]$(Get-Date -format MMdd)
if ($AppVeyorEnv) {
$CommitID = [string]($env:appveyor_repo_commit)
$CommitID = ([string]($env:appveyor_repo_commit)).substring(0,7)
$Build = [int]($env:appveyor_build_number)
}
else {