vcpkg/versions/a-/antlr4.json

110 lines
2.7 KiB
JSON
Raw Normal View History

{
"versions": [
2024-10-04 23:42:13 +08:00
{
"git-tree": "f2803934714fc26ec4ef9d6df467e05b0f6c1096",
"version": "4.13.2",
"port-version": 0
},
{
"git-tree": "b8a6e8e88f1e6f604f094ce3a3927a8412eb6011",
"version": "4.13.1",
"port-version": 0
},
2023-07-20 05:18:40 +08:00
{
"git-tree": "1fd51b053d31e5215682e6c2970aca92e24d488b",
"version": "4.13.0",
"port-version": 0
},
{
"git-tree": "162afe92eab004d57c6b0c972ea5e9b371ccb23a",
"version": "4.11.1",
"port-version": 1
},
{
"git-tree": "adff4448fb67cdc7d7a478d5f5f3e973ad65a386",
"version": "4.11.1",
"port-version": 0
},
{
"git-tree": "77ce1d5e7b1ea96943b3917086e1b75d50ae903c",
"version": "4.10.1",
"port-version": 0
},
{
"git-tree": "6a716f472a0639199a0a843a64795a88a39f5dee",
"version": "4.9.3",
"port-version": 2
},
{
"git-tree": "0a3fbd320c22b3c017fe13fb4cac5fe330c0df99",
"version": "4.9.3",
"port-version": 1
},
2022-01-14 01:23:06 +08:00
{
"git-tree": "55208ea9aa8be016d24423442ffbb2e31a7390a1",
"version": "4.9.3",
"port-version": 0
},
{
"git-tree": "31ac3fa20b3f7944e5ac32b7ac7883f3d976dae6",
"version": "4.9.1",
"port-version": 2
},
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": "0b8591ea0b8692c0c2963c468ee5b9c2e260ace4",
"version-string": "4.9.1",
"port-version": 1
},
{
"git-tree": "846cffb150c26539ce36129c5a45d7ce54e6a1c8",
"version-string": "4.9.1",
"port-version": 0
},
{
"git-tree": "ed270bdb7075f6ed46cbe345c367ecb00ef64eff",
"version-string": "4.8",
"port-version": 1
},
{
"git-tree": "1c0f17bc114b3f94e31bd6ecbef4ee2457768b5f",
"version-string": "4.8",
"port-version": 0
},
{
"git-tree": "8f10523941e1e8d75a88feb08b1e0b711ae98a03",
"version-string": "4.7.1-3",
"port-version": 0
},
{
"git-tree": "6eb22d8be66dcd33b068f3fb25ae06445fd7dd61",
"version-string": "4.7.1-2",
"port-version": 0
},
{
"git-tree": "7b3883e70e318f9a15f4b27a9d71c26e7eb9d957",
"version-string": "4.7.1-1",
"port-version": 0
},
{
"git-tree": "bdcdb19ea351359d51b11e772fa396c90b014856",
"version-string": "4.7.1",
"port-version": 0
},
{
"git-tree": "34a4ebe35067164ad729d4b66e502c57271ec8a0",
"version-string": "4.7",
"port-version": 0
},
{
"git-tree": "984fdaa45d466efa9b2dd00661731a115e4c6292",
"version-string": "4.6-1",
"port-version": 0
},
{
"git-tree": "49539bff6d8bf30a96b0228ac27439d946b81dfb",
"version-string": "4.6",
"port-version": 0
}
]
}