vcpkg/versions/u-/usrsctp.json

50 lines
1.2 KiB
JSON
Raw Normal View History

{
"versions": [
2024-08-22 11:45:58 +02:00
{
"git-tree": "558a19f0aec0cbbb2103876326c3e46455fb8d5f",
"version": "0.9.5.0",
"port-version": 4
},
{
"git-tree": "7c30cd146c1f7b69d5a8f43fbb615e3bbb42b6ee",
"version": "0.9.5.0",
"port-version": 3
},
{
"git-tree": "8ac1cb14a09660bf33bd8f3dc7727bcf8080ae02",
"version": "0.9.5.0",
"port-version": 2
},
{
"git-tree": "fcf79007e70c0b2872453841199dae68e7ac01fa",
"version": "0.9.5.0",
"port-version": 1
},
2021-09-10 06:16:23 +02:00
{
"git-tree": "f2af7adab77a27695756a783a27f5c602ded9082",
"version": "0.9.5.0",
"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 01:24:04 -07:00
{
"git-tree": "fd25f487883b7ccbba50c32203eb96c18cd9338f",
"version-string": "0db9691",
"port-version": 1
},
{
"git-tree": "a2a0f34f91d797a31af55376db7524f3aed863dc",
"version-string": "0db9691",
"port-version": 0
},
{
"git-tree": "6538abf90af559609a691084fa9511d8a5ffd7c8",
"version-string": "35c1d97020a-2",
"port-version": 0
},
{
"git-tree": "87b02ee3b63e6dcdf1f54488b3fc71b4783de64b",
"version-string": "35c1d97020a",
"port-version": 0
}
]
}