vcpkg/versions/l-/luajit.json

90 lines
2.2 KiB
JSON
Raw Normal View History

{
"versions": [
{
"git-tree": "450f447cc860d3cc59b93304c13ad92637c6b63d",
"version-date": "2023-01-04",
"port-version": 3
},
2023-06-28 11:36:59 +08:00
{
"git-tree": "9b724aa5af80b253739609f1173da343d55251cd",
"version-date": "2023-01-04",
"port-version": 2
},
{
"git-tree": "5a564decc9569af8e940353cab9623b6f93f3a4b",
"version-date": "2023-01-04",
"port-version": 1
},
{
"git-tree": "3c7f639efd41b49e93c61ae54fd99bb332d80bf9",
"version-date": "2023-01-04",
"port-version": 0
},
{
"git-tree": "6008fc1c5042466dab836694887b8795471b64fb",
"version-date": "2022-11-22",
"port-version": 0
},
{
"git-tree": "572eb21690be2a997b4bc4f1a49f93a77dc4a92b",
"version-date": "2022-08-11",
"port-version": 2
},
{
"git-tree": "bacc33ec723d7fc2b895a1351a2042c5c6fb6971",
"version-date": "2022-08-11",
"port-version": 1
},
{
"git-tree": "4c2d21d9bf0e5cedc0f7540a7e473c2e86f2c5ef",
"version-date": "2022-08-11",
"port-version": 0
},
2022-05-24 04:56:08 +08:00
{
"git-tree": "9b560fe2d3810733d0b0f69b2a91093b02ac49b6",
"version": "2.0.5",
"port-version": 8
},
{
"git-tree": "daf2e19a72e3bf1d8a6c47a38489c9d1bd016d33",
"version": "2.0.5",
"port-version": 7
},
{
"git-tree": "d8d4e2ca9656ec3a26a0ade9f0421e17b11206c7",
"version": "2.0.5",
"port-version": 6
},
{
"git-tree": "3748aef9d3bd9d941f6af4d9c049cc55194cb7f5",
"version": "2.0.5",
"port-version": 5
},
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": "10777e8d3827f33dd042ae2cee5d309f48a108c0",
"version-string": "2.0.5",
"port-version": 4
},
{
"git-tree": "e1f7e0b77492627b8233017be73bd7b4361b2510",
"version-string": "2.0.5-3",
"port-version": 0
},
{
"git-tree": "7b77f1011f636ec051800a1f04906dedfb0ba80c",
"version-string": "2.0.5-2",
"port-version": 0
},
{
"git-tree": "c74c03aaae5f866c71ee8834d5a80d46e9a85852",
"version-string": "2.0.5-1",
"port-version": 0
},
{
"git-tree": "0098ef8ec8e252740baf595562665c2ffceaf6df",
"version-string": "2.0.5",
"port-version": 0
}
]
}