vcpkg/versions/l-/liblsl.json

60 lines
1.4 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "bc1c3d9c2142ad970d88c0a79f680b31c8d674f9",
"version": "1.16.2",
"port-version": 0
},
{
"git-tree": "6849296814880dca06ffd923d7d5c8fc3e4f2a9c",
"version": "1.16.1",
"port-version": 1
},
{
"git-tree": "b0992324287a25dd60723ae90e8ff2e53d357cb6",
"version": "1.16.1",
"port-version": 0
},
{
"git-tree": "282fee909d2df5c818b0577a4c063c146376cef5",
"version": "1.16.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": "451923eac66cd517eb01dbf297e207e0760c4414",
"version-string": "1.14.0",
"port-version": 2
},
{
"git-tree": "960eac893dd574369d79d40248bd91c38a8c3448",
"version-string": "1.14.0",
"port-version": 1
},
{
"git-tree": "5be8e82edc3261bef4114e428191a4ccc9271892",
"version-string": "1.14.0",
"port-version": 0
},
{
"git-tree": "1b86d81c846a0b8f0ad92ce19598e58b56096d08",
"version-string": "1.13.1",
"port-version": 0
},
{
"git-tree": "19cc4be860bac6d78fff411bb1dc4d95a4e13e3c",
"version-string": "1.13.0-b11-1",
"port-version": 0
},
{
"git-tree": "839131ef1046d5bf58423cc38c288b1a3593eaf3",
"version-string": "1.13.0-b6",
"port-version": 0
},
{
"git-tree": "d096418168b41c1397e02c19bde87e84f838d17c",
"version-string": "1.13.0-b4",
"port-version": 0
}
]
}