Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3368fb1

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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‎

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)

AltStyle によって変換されたページ (->オリジナル) /