From 151026d5b3c09d6d374891f0f9697e77d572a6b7 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Mon, 16 Oct 2017 15:22:18 +0200 Subject: [PATCH] Update version to 0.5.0 --- project/Build.scala | 4 ++-- sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index f628d161dc3d..4d800f55d88d 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -41,7 +41,7 @@ object Build { val dottyOrganization = "ch.epfl.lamp" val dottyGithubUrl = "https://github.com/lampepfl/dotty" val dottyVersion = { - val baseVersion = "0.4.0" + val baseVersion = "0.5.0" val isNightly = sys.env.get("NIGHTLYBUILD") == Some("yes") val isRelease = sys.env.get("RELEASEBUILD") == Some("yes") if (isNightly) @@ -854,7 +854,7 @@ object Build { sbtPlugin := true, - version := "0.1.6-SNAPSHOT", + version := "0.1.6", ScriptedPlugin.scriptedSettings, ScriptedPlugin.sbtTestDirectory := baseDirectory.value / "sbt-test", ScriptedPlugin.scriptedLaunchOpts += "-Dplugin.version=" + version.value, diff --git a/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala b/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala index 83455fb4c66a..ab424718d773 100644 --- a/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala +++ b/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala @@ -14,10 +14,10 @@ object DottyPlugin extends AutoPlugin { // - if this was a settingKey, then this would evaluate even if you don't use it. def dottyLatestNightlyBuild: Option[String] = { println("Fetching latest Dotty nightly version (requires an internet connection)...") - val Version = """ (0.4\..*-bin.*)""".r + val Version = """ (0.5\..*-bin.*)""".r val latest = scala.io.Source .fromURL( - "http://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.4/maven-metadata.xml") + "http://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.5/maven-metadata.xml") .getLines() .collect { case Version(version) => version } .toSeq