Temporary workaround #2 to fix the PSVersion issue in beta.1 release (#3742)

This commit is contained in:
Dongbo Wang
2017-05-09 00:21:28 -07:00
committed by GitHub
parent 44c6409fdd
commit c8a9284731
+2 -1
View File
@@ -1258,7 +1258,8 @@ function Start-PSPackage {
# Use Git tag if not given a version
if (-not $Version) {
$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
#$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
$Version = "6.0.0-beta.1"
}
$Source = Split-Path -Path $Script:Options.Output -Parent