vcpkg/versions/o-/ogre-next.json

70 lines
1.6 KiB
JSON
Raw Normal View History

{
"versions": [
2024-01-04 10:27:03 +08:00
{
"git-tree": "1563ee76136a49e438bd5229b68635ce8fdc347a",
"version": "2.3.3",
"port-version": 2
},
2023-12-23 16:52:06 +08:00
{
"git-tree": "92372bf7078f6e5f955072f35696788f09849b71",
"version": "2.3.3",
"port-version": 1
},
{
"git-tree": "ecf4c650a53fe5d7427f5fcb1e28302d42aad2c7",
"version": "2.3.3",
"port-version": 0
},
{
"git-tree": "e79346cd0f83209b8d6b14b8d486971918013ce9",
"version": "2.3.2",
"port-version": 0
},
{
"git-tree": "9005bf2b8f0d060493c44cd2c2f49d411faa2141",
"version": "2.3.1",
"port-version": 4
},
2023-10-18 05:57:01 +08:00
{
"git-tree": "c93cd3ebf7b2a50082e97f5f7a6f4ed1cf1f5c94",
"version": "2.3.1",
"port-version": 3
},
2023-09-29 14:13:40 +08:00
{
"git-tree": "0089cd2cc3d48d19a5b465f43454dfb0124f9723",
"version": "2.3.1",
"port-version": 2
},
{
"git-tree": "6af271c0d09d27f6cea912e0b3f81a310d3992be",
"version": "2.3.1",
"port-version": 1
},
2022-07-21 06:44:03 +08:00
{
"git-tree": "41790e82daaddc561ebaf5ea9f589bd2e148e31a",
"version": "2.3.1",
"port-version": 0
},
{
"git-tree": "0b1cca4f491d535e198fc79195bf357811b4122a",
"version": "2.3.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 16:24:04 +08:00
{
"git-tree": "8d2e2e06d0b21779df8bd6579387805dc06ca6ff",
"version-string": "2019-10-20",
"port-version": 2
},
{
"git-tree": "d8a84a70373caadf837280fe2873d5d286d2c770",
"version-string": "2019-10-20-1",
"port-version": 0
},
{
"git-tree": "6f7835a22bfad4598f994f7016d1dcb9a3954a3f",
"version-string": "2019-10-20",
"port-version": 0
}
]
}