Update go-parser.psm1

v-malob/support-go-beta
Maxim Lobanov 4 years ago
parent 96a98e9fb3
commit f5bdb61b33

@ -20,6 +20,10 @@ class GoVersionsParser: BaseVersionsParser {
}
hidden [bool] ShouldIncludeVersion([SemVer]$Version) {
if ($Version.PreReleaseLabel) {
return $false
}
# For Go, we include all versions greater than 1.12
return $Version -gt [SemVer]"1.12.0"
}

Loading…
Cancel
Save