Skip to content

Conversation

erma07
Copy link

@erma07 erma07 commented Oct 3, 2023

This change adds prerelease constraint *-alpha.* for matching prerelease in a version with the following format 1.2.3-alpha.1

I am struggling to configure rancher fleet imageScans properly without this change.

@kmskebo
Copy link

kmskebo commented Mar 17, 2025

This is exactly what we need from Argo-CD and since Argo uses this library for version matching from semver. Is there anything that can be done to get this merged?

@danpf
Copy link

danpf commented Jun 30, 2025

Yes I'm having the same problem as @kmskebo - I'm willing to contribute if necessary!
we are using gitversion+gitflow versioning https://gitversion.net/docs/learn/branching-strategies/gitflow/examples so I'd like to get a build via: *-beta.* to match {major}.{minor}.{patch}-beta.{build#} and *-alpha.* to match {major}.{minor}.{patch}-alpha.{build#}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants