vcpkg/versions/q-/qt5-webglplugin.json

50 lines
1.2 KiB
JSON
Raw Normal View History

{
"versions": [
2022-06-21 05:12:25 +08:00
{
"git-tree": "a58546017a29746294932e5f21d1b1077407f53e",
"version": "5.15.5",
"port-version": 0
},
{
"git-tree": "618744f2944d1d1d8acfc4bf018a11306f515316",
"version": "5.15.4",
"port-version": 0
},
2022-03-08 03:27:29 +08:00
{
"git-tree": "3d081435832cdf86757d280e7fbf1bf2b5780199",
"version": "5.15.3",
"port-version": 0
},
Bulk convert control files. (#19986) ``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-09-09 16:24:04 +08:00
{
"git-tree": "44c3faa9de1a6f18a9f496e828c4ee64f0fcc315",
"version-string": "5.15.2",
"port-version": 1
},
{
"git-tree": "f0b9c3cfc7387db1f1ca1e1a31a92a445e0bfa0d",
"version-string": "5.15.2",
"port-version": 0
},
{
"git-tree": "dbc7e66e5d089e94e2278d8cf437e46aa1c18ad8",
"version-string": "5.15.1",
"port-version": 0
},
{
"git-tree": "654ffaa3a07c623a58311c222d0cd3e172b0b61b",
"version-string": "5.15.0",
"port-version": 0
},
{
"git-tree": "86159be37c81cfe1a55c28219dcb5dd5b3d6ed24",
"version-string": "5.12.8",
"port-version": 0
},
{
"git-tree": "ae82f97a47eaf99a029c4002ff3595065c792f51",
"version-string": "5.12.7",
"port-version": 0
}
]
}