Skip to content

Commit 3368fb1

Browse files
committed
Fix RCs publishing
1 parent 5a1baca commit 3368fb1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ object Build {
864864
settings(commonSettings).
865865
settings(
866866
version := {
867-
val base = "0.2.1"
867+
val base = "0.2.2"
868868
if (isRelease) base else base + "-SNAPSHOT"
869869
},
870870

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

+8
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)