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

85 lines
2.1 KiB
JSON
Raw Normal View History

{
"versions": [
2022-06-21 05:12:25 +08:00
{
"git-tree": "a65c16c77f8df1595cdd0045263f15499b46ecd5",
"version": "5.15.5",
"port-version": 0
},
{
"git-tree": "86878fc58b27e1f6f2e8cad31f27aadf3bf77fb2",
"version": "5.15.4",
"port-version": 0
},
2022-03-08 03:27:29 +08:00
{
"git-tree": "c1507aeba5c46c35cccbf662602be9bcfe6d4bc1",
"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": "0e0745a65f393550ec04750071456604a5db72ba",
"version-string": "5.15.2",
"port-version": 1
},
{
"git-tree": "a8cd09b86f4f66c28354c005ddc5c7050b3ab51e",
"version-string": "5.15.2",
"port-version": 0
},
{
"git-tree": "9789fe42c9921171381c50b4586b81fb7f1ee405",
"version-string": "5.15.1",
"port-version": 0
},
{
"git-tree": "a88066a45c91eaf3f4b4e82f7952ad1475a37ef5",
"version-string": "5.15.0",
"port-version": 0
},
{
"git-tree": "2c8b82b1cbb08dbaf2cb4540ea28d6575b9b92cc",
"version-string": "5.12.8",
"port-version": 0
},
{
"git-tree": "bfd9a22dee4ae335e1eb426bf4096ebe2df929fb",
"version-string": "5.12.7",
"port-version": 0
},
{
"git-tree": "3a29416aaccc6b188da273c2ac07d09ad462659d",
"version-string": "5.12.5-2",
"port-version": 0
},
{
"git-tree": "ee1c603ade4a5dcbc09fcfb2ce0e6fa9c9aff7fb",
"version-string": "5.12.5-1",
"port-version": 0
},
{
"git-tree": "1bcb4c6701dfc41b294c42d40fc872c9d2fafd25",
"version-string": "5.12.5",
"port-version": 0
},
{
"git-tree": "0e1799020f30f41f39c36ef9767c44cc83918bcc",
"version-string": "5.12.4",
"port-version": 0
},
{
"git-tree": "83712f2ea06411edc490cf298ee8da637fdfb7cd",
"version-string": "5.12.3-1",
"port-version": 0
},
{
"git-tree": "5aa571489c43635a43b3ef4a3a86a914b006e68c",
"version-string": "5.12.3",
"port-version": 0
},
{
"git-tree": "03bc6eed238cc6aa977cba5af90b127e8203433a",
"version-string": "5.12.1",
"port-version": 0
}
]
}