From c8a9284731245ebdfbbe25e86572c92ffe8cd37a Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 9 May 2017 00:21:28 -0700 Subject: [PATCH] Temporary workaround #2 to fix the PSVersion issue in beta.1 release (#3742) --- build.psm1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 7da043c1ad..ddf0073025 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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