vcpkg/versions/s-/simde.json

50 lines
1.1 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "de4114fbc6c0a01a088f18cf5f963bc2d550ed49",
"version": "0.8.2",
"port-version": 0
},
2024-03-15 18:39:07 -07:00
{
"git-tree": "3587acebc7192f6263ece74c3bcf801b86d3cb49",
"version": "0.8.0",
"port-version": 0
},
{
"git-tree": "3776be38dc5cf963db0a97cbb5b043488c43b79c",
"version": "0.7.6",
"port-version": 0
},
2023-05-06 02:16:48 +08:00
{
"git-tree": "f46b6e3bc03d59a8f45ae99c0c0d08b8386f230a",
"version": "0.7.4",
"port-version": 0
},
{
"git-tree": "b9f97efd430bad429766d57361f329bb1e1597f4",
"version": "0.7.2",
"port-version": 1
},
{
"git-tree": "7cf62acaf3648a8f0c2d866263788dc413f2beba",
"version": "0.7.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 01:24:04 -07:00
{
"git-tree": "0caa37f83bd1276d984e5ae1f67ce0cb47e1f62e",
"version-string": "0.7.0",
"port-version": 1
},
{
"git-tree": "49aade0bf4faf46635d58a453e71399f2d6c7412",
"version-string": "0.7.0",
"port-version": 0
},
{
"git-tree": "3da136304f40e2ac9bee37de8554353b3651ccfd",
"version-string": "2019-06-05",
"port-version": 0
}
]
}