Skip to content

Commit

Permalink
Merge pull request #47 from theohbrothers/enhancement/constraint-vers…
Browse files Browse the repository at this point in the history
…ions-in-versions.json

Enhancement: Constraint versions in `versions.json`
  • Loading branch information
leojonathanoh authored Oct 15, 2023
2 parents 1535c55 + 20d4269 commit e1e68d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/definitions/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"7.2.34"
],
"versionsChangeScope": "minor",
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/php/php-src/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/php-', ''} | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending # Alternative: https://www.php.net/releases/index.php?json&max=1000&version=7"
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/php/php-src/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/php-', '' } | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending | ? { [version]$_ -ge [version]'7.2' } # Alternative: https://www.php.net/releases/index.php?json&max=1000&version=7"
}
}

0 comments on commit e1e68d0

Please sign in to comment.