mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update metadata.json (#24764)
* Updated metadata.json * Added 7.6 to version checks --------- Co-authored-by: Justin Chung <chungjustin@microsoft.com>
This commit is contained in:
co-authored by
Justin Chung
parent
af55292ca7
commit
a69452ebeb
@@ -41,7 +41,7 @@ Describe "Requires tests" -Tags "CI" {
|
||||
BeforeAll {
|
||||
$currentVersion = $PSVersionTable.PSVersion
|
||||
|
||||
$powerShellVersions = "1.0", "2.0", "3.0", "4.0", "5.0", "5.1", "6.0", "6.1", "6.2", "7.0", "7.1", "7.2", "7.3", "7.4", "7.5"
|
||||
$powerShellVersions = "1.0", "2.0", "3.0", "4.0", "5.0", "5.1", "6.0", "6.1", "6.2", "7.0", "7.1", "7.2", "7.3", "7.4", "7.5", "7.6"
|
||||
$latestVersion = [version]($powerShellVersions | Sort-Object -Descending -Top 1)
|
||||
$nonExistingMinor = "$($latestVersion.Major).$($latestVersion.Minor + 1)"
|
||||
$nonExistingMajor = "$($latestVersion.Major + 1).0"
|
||||
|
||||
Reference in New Issue
Block a user