Skip to content

SemVer: allow PreRelease containing digits, and without a version#127

Closed
BoD wants to merge 1 commit into
GradleUp:mainfrom
BoD:fix-semver-prerelease
Closed

SemVer: allow PreRelease containing digits, and without a version#127
BoD wants to merge 1 commit into
GradleUp:mainfrom
BoD:fix-semver-prerelease

Conversation

@BoD

@BoD BoD commented May 1, 2026

Copy link
Copy Markdown
Contributor

Noticed that using Kotlin 2.4.0-Beta2 would throw when configuring BCV, even though it is a valid SemVer version.

(Unfortunately ABI breaking, hopefully not a big deal.)

(Of course this would be avoided if JetBrains were naming their version 2.4.0-beta.2 as God intended 😂)

@martinbonnin

martinbonnin commented May 2, 2026

Copy link
Copy Markdown
Member

Thanks for the pull request! I'd like this SemVer class to be quite strict about what it supports and keep it for versions we have control over.

For Kotlin version, I switched to using lexicographical sorting in #128, let me know how that works for you!

@BoD

BoD commented May 3, 2026

Copy link
Copy Markdown
Contributor Author

Works for me!

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.

2 participants