Commit Graph

14 Commits

Author SHA1 Message Date
Jack·Boos·Yu
ff5bd0828c
[skyr-url] Fix cmake config files (#22760)
* [skyr-url] Fix cmake config files

* version
2022-01-24 14:58:41 -08: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
Glyn Matthews
23933f3671
[skyr-url] Changed version number to 1.13.0 (#13617) 2020-09-20 20:08:34 -07:00
Glyn Matthews
63cd5bf560
[skyr-url] Changed version number to 1.12.0 (#12214) 2020-07-06 12:53:29 -07:00
Glyn Matthews
ee17a68508
[skyr-url] Updated version number of skyr-url (#11911)
* [skyr-url] Updated version number of skyr-url

* Updated HEAD_REF value
2020-06-18 16:27:17 -07:00
Glyn Matthews
957d9072da
[skyr-url] Changed version number for skyr-url (#11774) 2020-06-05 11:59:49 -07:00
Glyn Matthews
b08757ea9a
[skyr-url] Changed version number to 1.9.0 (#11568) 2020-05-26 21:01:54 -07:00
Glyn Matthews
263ba43c6d
[skyr-url] Update skyr-url to 1.7.5 (#11153)
* [skyr-url] Changed skyr-url version number to 1.7.5

* [skyr-url] Updated Git tag for fixes to CI breakages
2020-05-07 23:31:49 -07:00
Glyn Matthews
6c13c24d44
[skyr-url] Updated port to use version 1.7.3 (#10954) 2020-04-23 13:46:57 -07:00
Glyn Matthews
1c3cab4405
[skyr-url] Bump version to 1.7.0 (#10868)
* Updated version of skyr-url

* Applied requested change for PR
2020-04-21 13:26:20 -07:00
Glyn Matthews
495dc65823 Bumped version number of skyr-url because of fix to CI error 2020-04-07 21:25:35 +02:00
Glyn Matthews
3ccff75202 [skyr-url] Fixed change to CMake options 2020-04-04 23:37:30 +02:00
Glyn Matthews
9a84f487e6 Bumped version of skyr-url to 1.5.1 2020-04-04 17:24:43 +02:00
Glyn Matthews
449adbed72
[skyr-url] Add new port (#10463)
* Added port for Skyr URL library

* Removed vcpkg_test_cmake call in skyr-url port

* Fixed type in version number, added step to copy PDBs

* Added build dependency on tl-expected

* Removed commented out code

* Disabled warnings as errors

* Bumped version number

* Updated version number for Skyr URL
2020-04-03 10:33:56 -07:00