vcpkg/versions/m-/muparser.json

50 lines
1.2 KiB
JSON
Raw Normal View History

{
"versions": [
2022-11-22 00:35:50 +08:00
{
"git-tree": "7a10458552dd11fbd4d72ff5e978f5f55a82e2f3",
"version": "2.3.4",
"port-version": 0
},
{
"git-tree": "6987fcdb2ed52f7891489a2c97bdc92b64c46a6f",
"version": "2.3.3",
"port-version": 2
},
{
"git-tree": "6b93a7e6250aaa93e20c752426eb4fb1bcb08411",
"version": "2.3.3",
"port-version": 1
},
2022-01-25 07:09:13 +08:00
{
"git-tree": "e2e6e7754f6e242c497aca1dd784be15acc5c11f",
"version": "2.3.3-1",
"port-version": 0
},
{
"git-tree": "ffef8786866359a02e3e50d62bcda523967fddce",
"version-string": "2.3.2",
"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 16:24:04 +08:00
{
"git-tree": "60a779cc21e94cf9ef8a7df52a0177d79f298e2d",
"version-string": "2.3.2",
"port-version": 1
},
{
"git-tree": "88f24afa700f3c4e50ba65ab7b8a0e5ac32d2512",
"version-string": "2.3.2",
"port-version": 0
},
{
"git-tree": "01428bed61e304d0801cfd883e62d30aff375a85",
"version-string": "2.2.6.1",
"port-version": 0
},
{
"git-tree": "f9eb9e8ce9f815b5fcc8387d0dae5a9a24e79257",
"version-string": "6cf2746",
"port-version": 0
}
]
}