vcpkg/versions/e-/ebml.json

80 lines
1.9 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "211ad9219c349adeae527edf0bc1ae9c57028751",
"version": "1.4.5",
"port-version": 0
},
{
"git-tree": "4dd27fceafb402b6a634a2a934e7c3df0c1a64c0",
"version": "1.4.4",
"port-version": 1
},
{
"git-tree": "a4b2091951270259a38b2b900547a544bfad046f",
"version": "1.4.4",
"port-version": 0
},
{
"git-tree": "4fc7059101f067e639c84844996c77eaba7908e6",
"version": "1.4.2",
"port-version": 1
},
{
"git-tree": "ba8376ad269930aee17a0890ccbd267639122616",
"version": "1.4.2",
"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": "92e5e7a92a8bd6a496911ea44a032088e776471f",
"version-string": "1.4.0",
"port-version": 1
},
{
"git-tree": "bcf2ed38acfba94d49dfe9f4c96559771d8032c8",
"version-string": "1.4.0",
"port-version": 0
},
{
"git-tree": "73fbf83ff5922adc1d576b12287760ac62746470",
"version-string": "1.3.10",
"port-version": 0
},
{
"git-tree": "22aa8d7b36297a2dea4cea042eabb89b34213213",
"version-string": "1.3.9",
"port-version": 0
},
{
"git-tree": "2b9aad9296245c45e56d8970d7f21cf5a3766f5b",
"version-string": "1.3.8",
"port-version": 0
},
{
"git-tree": "599c3901990b47d7ef9fec6e744501ca88b71834",
"version-string": "1.3.7-1",
"port-version": 0
},
{
"git-tree": "c2c669762fcb37711b0d70252ba49d6fda41ff71",
"version-string": "1.3.7",
"port-version": 0
},
{
"git-tree": "3aeaa0b4b3d5066303e1b70b62853314e60c07a5",
"version-string": "1.3.6-1",
"port-version": 0
},
{
"git-tree": "9c56155357fe56cd5f933290136cdc0555edcd29",
"version-string": "1.3.5-1",
"port-version": 0
},
{
"git-tree": "1e2d9637ba70018f164465daccbd3ec9a7dd8f2c",
"version-string": "1.3.5",
"port-version": 0
}
]
}