Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade semver checks and set dev version with new compiler plugin. #4705

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

terrakok
Copy link
Member

No description provided.

@terrakok terrakok requested a review from igordmn April 26, 2024 08:41
@@ -49,7 +49,6 @@ class KotlinCompatibilityTest : GradlePluginTestBase() {
}
}

/* TODO uncomment the test when Kotlin RC2 will be published
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add TODO:

// TODO replace by this after Kotlin 2.0 release
// testEnvironment = defaultTestEnvironment.copy(kotlinVersion = "2.0")

dev kotlin builds can be removed from maven later

assert(Version.fromString("2.0.0-RC3-111") > Version.fromString("2.0.0-RC3-111-9"))
assert(Version.fromString("2.0.0-RC3-112-9") > Version.fromString("2.0.0-RC3-111-9"))
assert(Version.fromString("2.0.0") > Version.fromString("2.0.0-RC3-111-9"))
assert(Version.fromString("2.0.0-RC1") > Version.fromString("2.0.0--"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a valid check?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check shows what a result will be if versions are that.
I am sure that "2.0.0--" is an invalid semver.

@terrakok terrakok merged commit 0c886be into master Apr 26, 2024
12 checks passed
@terrakok terrakok deleted the k.tskh/comp-plugin-dev branch April 26, 2024 10:06
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