[ubuntu] Rework Mono installation to avoid using apt repos (#3289)

* Rework Mono installation to avoid using apt repos on Ubuntu images

* Use rest of line to read full AptSourceRepository
This commit is contained in:
Sergey Dolin
2021-05-21 12:34:41 +05:00
committed by GitHub
parent 5e65aeff73
commit 7ce21d8b0e
3 changed files with 7 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ function Get-ErlangVersion {
function Get-MonoVersion {
$monoVersion = mono --version | Out-String | Take-OutputPart -Part 4
return "Mono $monoVersion"
$aptSourceRepo = Get-AptSourceRepository -PackageName "mono"
return "Mono $monoVersion (apt source repository: $aptSourceRepo)"
}
function Get-MsbuildVersion {