vcpkg/versions/s-/speexdsp.json

75 lines
1.8 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "79efeda6f8cdd6f28e85bee7787e529da2d94c3c",
"version": "1.2.1",
"port-version": 1
},
2022-07-13 01:50:03 +08:00
{
"git-tree": "9d3a05d75970beec385a36ceb592f9f9e928d62f",
"version": "1.2.1",
"port-version": 0
},
{
"git-tree": "602238d14eef169fff22244c05d364c55177bdbc",
"version": "1.2.0",
"port-version": 8
},
{
"git-tree": "6606b66ecc502c89de6a1e570c1407bf1f8b2d03",
"version": "1.2.0",
"port-version": 7
},
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": "911ea65a3db9f26e595990e94ab4ec911cd8ef82",
"version-string": "1.2.0",
"port-version": 6
},
{
"git-tree": "dfc87aa20568189fc2493e46eeb6067c97fdc9b0",
"version-string": "1.2.0",
"port-version": 5
},
{
"git-tree": "ca958f5770fabc81d240e68617f3558999f31ad7",
"version-string": "1.2.0",
"port-version": 4
},
{
"git-tree": "a06bfcea7728a1af4eeafd5c5f4034bbb26381e1",
"version-string": "1.2.0",
"port-version": 3
},
{
"git-tree": "5f7f0b5ce2fcb3d90a3b85bf95210b85c9603ffc",
"version-string": "1.2.0-2",
"port-version": 0
},
{
"git-tree": "40c62be17e1bba790096f1db8a924d8daba84a7a",
"version-string": "1.2.0-1",
"port-version": 0
},
{
"git-tree": "aa0b0a538cebf52e67bfcfbadec37fbaaf223984",
"version-string": "1.2.0",
"port-version": 0
},
{
"git-tree": "06d78c315a496a62173afd0e5fe305535a63a7e8",
"version-string": "1.2rc3-3",
"port-version": 0
},
{
"git-tree": "5afdec828830e90351f63384e7fcdd910af19022",
"version-string": "1.2rc3-2",
"port-version": 0
},
{
"git-tree": "d296cb76a6c32d89bba68417d85374740a2ae9f9",
"version-string": "1.2rc3-1",
"port-version": 0
}
]
}