We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174713c commit b75eb8fCopy full SHA for b75eb8f
extension/BuildPhpExtension/private/Get-PeclLibraryZip.ps1
@@ -49,9 +49,13 @@ function Get-PeclLibraryZip {
49
if($null -eq $lib_version -or $matches[1] -match ('^' + $lib_version + '.*'))
50
{
51
if($link_matches[1].Contains('.')) { $suffix="" } else { $suffix=".0" }
52
+ $versionParts = $link_matches[1] -split '-'
53
+ if($null -ne $versionParts[1] -and $versionParts[1].Contains('.')) {
54
+ $versionParts[0] = $versionParts[0] + $versionParts[1].Replace('.', '')
55
+ }
56
$options += @{
57
name = ($_.HREF -split ('/') | Select-Object -Last 1)
- version = (($link_matches[1] -replace '-', '.') + $suffix)
58
+ version = ($versionParts[0] + $suffix)
59
}
60
61
0 commit comments