8000 Temporary workaround #2 to fix the PSVersion issue in beta.1 release · PowerShell/PowerShell@a7f7b1f · GitHub
[go: up one dir, main page]

Skip to content

Commit a7f7b1f

Browse files
committed
Temporary workaround #2 to fix the PSVersion issue in beta.1 release
1 parent 44c6409 commit a7f7b1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,8 @@ function Start-PSPackage {
12581258

12591259
# Use Git tag if not given a version
12601260
if (-not $Version) {
1261-
$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
1261+
#$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
1262+
$Version = "6.0.0-beta.1"
12621263
}
12631264

12641265
$Source = Split-Path -Path $Script:Options.Output -Parent

0 commit comments

Comments
 (0)
0