Skip to content

Commit a098c13

Browse files
authored
Merge pull request #12452 from dotty-staging/fix-binaryVersion
sbt-dotty: Fix the binary suffix used for publishing
2 parents a9f1fa6 + 4121073 commit a098c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ object DottyPlugin extends AutoPlugin {
264264
scalaBinaryVersion := {
265265
scalaVersion.value.split("[\\.-]").toList match {
266266
case "0" :: minor :: _ => s"0.$minor"
267-
case "3" :: "0" :: "0" :: milestone :: _ =>
267+
case "3" :: "0" :: "0" :: milestone :: _ if milestone.startsWith("M") || milestone.startsWith("RC") =>
268268
s"3.0.0-$milestone"
269269
case "3" :: _ =>
270270
"3"

0 commit comments

Comments
 (0)