Skip to content

Commit

Permalink
bump demo versions
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Jul 6, 2021
1 parent 627d7fc commit f3e2469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ case class DemoRepo(repo: String, name: String)(implicit path: os.Path) {
val pluginsFile = path / "project" / "plugins.sbt"
val newLines = os.read.lines(pluginsFile).flatMap {
case line if line.contains(s"""addSbtPlugin("org.scala-js" % "sbt-scalajs" %""") =>
Some(s"""addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1")""")
Some(s"""addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.6.0")""")
case line if line.contains(s"""addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" %""") =>
Some(s"""addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0")""")
case line if line.contains(s"""addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" %""") =>
Expand All @@ -25,7 +25,7 @@ case class DemoRepo(repo: String, name: String)(implicit path: os.Path) {
None
case line => Some(line)
}
os.write.over(path / "project" / "build.properties", "sbt.version=1.5.0")
os.write.over(path / "project" / "build.properties", "sbt.version=1.5.4")
os.write.over(pluginsFile, newLines.mkString("\n"))
%.sbt("compile", "dist")
%.git("add", "-A")
Expand Down

0 comments on commit f3e2469

Please sign in to comment.