[Windows] Adding Swig (#3509)

This commit is contained in:
Nursultan Kassan
2021-06-07 12:23:47 +03:00
committed by GitHub
parent 46ced60271
commit 659b9d878c
6 changed files with 26 additions and 3 deletions

View File

@@ -257,4 +257,10 @@ function Get-DacFxVersion {
cd "C:\Program Files\Microsoft SQL Server\150\DAC\bin\"
$dacfxversion = (./sqlpackage.exe /version)
return "DacFx $dacfxversion"
}
}
function Get-SwigVersion {
(swig -version | Out-String) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$swigVersion = $Matches.Version
return "Swig $swigVersion"
}