Commit Graph

8 Commits

Author SHA1 Message Date
Bradley Austin Davis
7771a37ebd
[openxr-loader] update to 1.0.31 (#34901) 2023-12-01 02:15:12 -08:00
Thomas1664
5d1860a189
[openxr-loader] remove from CI baseline (#24057)
* [openxr-loader] remove from CI baseline

* OSX is not supported

* version

* Fix supports

* version
2022-04-11 08:47:23 -07:00
Sandy
2f453910f2
[openxr-loader] Fix package name and enable arm (#23928) 2022-04-07 09:47:57 -07:00
Adam Johnson
faa4527dd8
[openxr-loader] Fix build failure in world rebuild CI. (#23191)
* [openxr-loader] Patch failure in world rebuild CI.

* Version nonsense.
2022-02-22 12:06:26 -08:00
Rémy Tassoux
1a19b0eb3c
[openxr-loader] Update to 1.0.22 (#22512)
* [openxr-loader] Update to 1.0.22

* [openxr-loader] Update version files

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2022-01-13 10:49:53 -08:00
autoantwort
1c971e5be3
[openxr-loader] no absolute paths (#22351)
* [openxr-loader] no absolute paths

* [openxr-loader] no absolute paths
2022-01-05 20:20:25 -08:00
Rémy Tassoux
431d3810aa
[openxr-loader] Update to 1.0.20 (#21887)
* [openxr-loader] Update to 1.0.20

* [openxr-loader] Fix manifest formatting

* [openxr-loader] Update version files

* [openxr-loader] Add quotes to absolute paths

* [openxr-loader] Update version files

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2021-12-06 22:43:34 -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