xiaozhuai, Weihang Ding
|
81d262e853
|
[nameof] Bump to 0.10.3 (#32523)
* [nameof] Bump to 0.10.3
* update version database
|
2023-07-12 13:06:59 -07:00 |
|
Daniil Goncharov
|
05d0035210
|
[nameof] Update to 0.10.2 (#26168)
* [nameof] Update to 0.10.2
* vcpkg x-add-version nameof
* modernization
* overwrite-version
* license
* overwrite-version
* fix review
* overwrite-version
|
2022-08-05 23:47:46 -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 |
|
Daniil Goncharov
|
cff982f1f2
|
[nameof] Update to 0.10.1 (#18574)
|
2021-06-21 13:17:52 -07:00 |
|
Daniil Goncharov
|
259cf27e44
|
[nameof] Update to 0.10.0 (#15975)
* [nameof] Update to 0.10.0
* x-add-version
|
2021-02-03 11:43:20 -08:00 |
|
Daniil Goncharov
|
3cba59778e
|
[nameof] Update to 0.9.4 (#11815)
|
2020-06-11 02:17:54 -07:00 |
|
Daniil Goncharov
|
2a0998e5cf
|
[nameof] Update to 0.9.3 (#9503)
|
2020-01-02 13:28:59 -08:00 |
|
Daniil Goncharov
|
491bc64669
|
update nameof to v0.9.2 (#8671)
|
2019-10-21 15:24:13 -07:00 |
|
Daniil Goncharov
|
c15d39454f
|
update nameof to v0.9.1 (#8464)
|
2019-10-07 11:02:53 -07:00 |
|
myd7349
|
584da54a0f
|
[nameof] Add new port (#7250)
|
2019-07-18 00:15:56 -07:00 |
|