vcpkg/versions/q-/qtkeychain.json

60 lines
1.4 KiB
JSON
Raw Normal View History

{
"versions": [
2023-09-14 06:53:40 +08:00
{
"git-tree": "a1cf630fddc142e2a81d7f198eb8c93b40c64a34",
"version": "0.14.1",
"port-version": 0
},
{
"git-tree": "516e24d31a7d28d7b5df372f99cf2780a3a7edbc",
"version": "0.13.2",
"port-version": 4
},
{
"git-tree": "eda48d2b83676b8209a40d68b286c570aeed785e",
"version": "0.13.2",
"port-version": 3
},
{
"git-tree": "6311d9dd13b97c8a01a980d7b42ea6cfecc4f765",
"version": "0.13.2",
"port-version": 2
},
{
"git-tree": "ef01f1d6401814e50c0438d3a8a7770568ac93ca",
"version": "0.13.2",
"port-version": 1
},
{
"git-tree": "2dda8930cc8e73b1741effda2750a980c0209e24",
"version": "0.13.2",
"port-version": 0
},
{
"git-tree": "ff34038b321dbfe954208b0ec4844c1066dde839",
"version": "0.13.1",
"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": "477977da90b66a24d95b42e3776d17fd8e2735e0",
"version-string": "0.11.1",
"port-version": 1
},
{
"git-tree": "576c3e09b3b4e3dfe7ad0d8e69fe6d003da2de89",
"version-string": "0.11.1",
"port-version": 0
},
{
"git-tree": "9afe1a5db0e2d91f74b839a7e2c28996275ce3ad",
"version-string": "v0.9.1-1",
"port-version": 0
},
{
"git-tree": "891122d489d2a434d81298d41c8a881095fa57bd",
"version-string": "v0.9.1",
"port-version": 0
}
]
}