John Farrier
88b757e5e6
[celero] Update to v2.8.5. ( #28567 )
...
* [celero] Update to v2.8.4.
* [celero] Update to v2.8.4.
* [celero] Update to v2.8.5
* [Celero] Update to version v2.8.5
* Update ports/celero/portfile.cmake
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update ports/celero/portfile.cmake
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Update celero.json
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
2022-12-29 23:58:50 -08:00
Rémy Tassoux
3db88df035
[celero] Update to 2.8.3 ( #24349 )
...
* [celero] Update to 2.8.3
* [celero] Update version files
* [celero] fix binaries install path
* [celero] Update version files
2022-04-25 16:15:28 -07:00
Billy O'Neal
b295670e4b
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
John Farrier
030cfaa24d
[celero] Updated to Celero v2.8.0 ( #16802 )
...
* [celero] Updated to Celero v2.8.0
* [celero] Improving static linking support in VCPKG.
Celero issue #154 is tracking a fix.
https://github.com/DigitalInBlue/Celero/issues/154
* [celero] Updated to v2.8.1
* [celero] Updated version for VCPKG.
* [celero] Updates to better support VCPKG.
* [celero] Updated versions.
* Update celero.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-04-02 14:18:13 -07:00
John Farrier
b554d3ad08
[celero] Updated to v2.7.2 ( #16446 )
...
* [celero] Updated to v2.7.2
* [celero] Updated Versions file.
2021-03-01 16:07:30 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions
to versions
( #15784 )
2021-01-21 09:53:22 -08:00