Skip to content

Commit

Permalink
Merge pull request #54 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 committed Oct 15, 2023
2 parents 7aaa65d + d05bcca commit 5a1418e
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 @@ -20,6 +20,6 @@
"3.0.1"
],
"versionsChangeScope": "patch",
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/OpenVPN/easy-rsa/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/v', ''} | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending"
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/OpenVPN/easy-rsa/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/v', '' } | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending | ? { [version]$_ -ge [version]'3.0' }"
}
}

0 comments on commit 5a1418e

Please sign in to comment.