install the latest version

This commit is contained in:
Aleksandr Chebotov
2021-01-13 10:46:58 +03:00
parent 2882a9fde3
commit ddf40964b5
3 changed files with 1 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ function Get-KindVersion {
}
function Get-MinGWVersion {
(gcc --version | Select-String -Pattern "MinGW-W64 project") -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
(gcc --version | Select-String -Pattern "GCC") -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
$mingwVersion = $Matches.Version
return "Mingw-w64 $mingwVersion"
}