vcpkg/versions/l-/libtins.json

65 lines
1.5 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "2aca4b43d1b64057b5316e609514d41ee7013c4b",
"version": "4.5",
"port-version": 0
},
{
"git-tree": "30fbfd14d90e9aedac77f8272135a7e51444b01f",
"version": "4.3",
"port-version": 7
},
{
"git-tree": "4a1470befea5c6b5c7418f9b85f37d6f8733d7d5",
"version": "4.3",
"port-version": 6
},
{
"git-tree": "9abc8b1a535ffaf99a680412cfd8f0c743c3fc6d",
"version": "4.3",
"port-version": 5
},
{
"git-tree": "de1a1dc51c90ca57412fe5f8d57eeef42a41ec74",
"version": "4.3",
"port-version": 4
},
2021-11-30 01:44:14 +01:00
{
"git-tree": "909dcc117f47579bc754369cd0a7a9d5a66b23bc",
"version-string": "4.3",
"port-version": 3
},
{
"git-tree": "b853d9ee6a83bba8f0d0b6e568b664b9729aadea",
"version-string": "4.3",
"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 01:24:04 -07:00
{
"git-tree": "bd15852b2fb7471ef3eb99bb1fc827627f9643f8",
"version-string": "4.3",
"port-version": 1
},
{
"git-tree": "98c3e72c357331f07d1d0a15b22900018aa7087d",
"version-string": "4.3",
"port-version": 0
},
{
"git-tree": "0530780cada8626fb796739c9f65202bddedf802",
"version-string": "4.2",
"port-version": 0
},
{
"git-tree": "322cb23762872eddf30568997c7aee3315f70bbf",
"version-string": "4.0-3",
"port-version": 0
},
{
"git-tree": "35e3bc2179899cc51d030a96f43be0c1d84de3bc",
"version-string": "4.0-2",
"port-version": 0
}
]
}