mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Temporary workaround to fix the PSVersion issue in beta.1 release (#3740)
This commit is contained in:
1 parent
74382288ca
commit
44c6409fdd
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -158,7 +158,10 @@ function Start-PSBuild {
|
||||
}
|
||||
|
||||
# save Git description to file for PowerShell to include in PSVersionTable
|
||||
git --git-dir="$PSScriptRoot/.git" describe --dirty --abbrev=60 > "$psscriptroot/powershell.version"
|
||||
#git --git-dir="$PSScriptRoot/.git" describe --dirty --abbrev=60 > "$psscriptroot/powershell.version"
|
||||
|
||||
# temporary hack to resolve the version issue
|
||||
"v6.0.0-beta.1" > "$psscriptroot/powershell.version"
|
||||
|
||||
# create the telemetry flag file
|
||||
$null = new-item -force -type file "$psscriptroot/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY"
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace System.Management.Automation
|
||||
private static Version s_psV4Version = new Version(4, 0);
|
||||
private static Version s_psV5Version = new Version(5, 0);
|
||||
private static Version s_psV51Version = new Version(5, 1, NTVerpVars.PRODUCTBUILD, NTVerpVars.PRODUCTBUILD_QFE);
|
||||
private static SemanticVersion s_psV6Version = new SemanticVersion(6, 0, 0, "alpha");
|
||||
private static SemanticVersion s_psV6Version = new SemanticVersion(6, 0, 0, "beta");
|
||||
|
||||
/// <summary>
|
||||
/// A constant to track current PowerShell Edition
|
||||
|
||||
Reference in new issue
Block a user