Skip to content

Commit a1c2998

Browse files
committed
Fix RCs publishing
1 parent 361b722 commit a1c2998

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ object DottyPlugin extends AutoPlugin {
179179
dottyBridge
180180
else
181181
scalaBridge
182+
},
183+
184+
// Needed for RCs publishing
185+
scalaBinaryVersion := {
186+
if (isDotty.value)
187+
scalaVersion.value.split("\\.").take(2).mkString(".")
188+
else
189+
scalaBinaryVersion.value
182190
}
183191
)
184192
}

0 commit comments

Comments
 (0)