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

80 lines
2.0 KiB
JSON
Raw Normal View History

{
"versions": [
2022-06-21 05:12:25 +08:00
{
"git-tree": "db57029476ead2ed6bada3ee98efdc9933685d5c",
"version": "5.15.5",
"port-version": 0
},
{
"git-tree": "e6f90b47550c95897af8ca9a2508d54d918bad6e",
"version": "5.15.4",
"port-version": 0
},
2022-03-08 03:27:29 +08:00
{
"git-tree": "bb6129ae1fa4b8945885ca352eca1bde34e1a345",
"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": "8c8a8916c8fda707b4c8096388ea7156bada9a4c",
"version-string": "5.15.2",
"port-version": 1
},
{
"git-tree": "5299a2103e3367847b319980eea5db59b4ad0a58",
"version-string": "5.15.2",
"port-version": 0
},
{
"git-tree": "f3781e5871021354cd74e4a7baedc112c78833b9",
"version-string": "5.15.1",
"port-version": 0
},
{
"git-tree": "3eaddb3bc343625c84cda44a466ee11e5ea8b322",
"version-string": "5.15.0",
"port-version": 0
},
{
"git-tree": "857f9aabf7c727e56eb710f24c824af5bd92b817",
"version-string": "5.12.8",
"port-version": 0
},
{
"git-tree": "7647cc30e5fd1d259f160a1950a1fb7f2f82a0cc",
"version-string": "5.12.7",
"port-version": 0
},
{
"git-tree": "834ea50732eeac2f613d8581efaaf4703ff1dc1b",
"version-string": "5.12.5-1",
"port-version": 0
},
{
"git-tree": "18c46e487b6d2f05a1f91d619bb9757e1c1a80d0",
"version-string": "5.12.5",
"port-version": 0
},
{
"git-tree": "10be2612641028b88b0483ac46713fba92f5b625",
"version-string": "5.12.4",
"port-version": 0
},
{
"git-tree": "3ede9db26a87a3caf807dc19501b4427b25ab31e",
"version-string": "5.12.3-1",
"port-version": 0
},
{
"git-tree": "4f7b1b9d80d79941bc0e31a5930b7885014bd80b",
"version-string": "5.12.3",
"port-version": 0
},
{
"git-tree": "017eec1fae618bf250db76a189134a14d58adaaf",
"version-string": "5.12.1",
"port-version": 0
}
]
}