diff --git a/README.md b/README.md index 45499266..90b21b4f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ _ZIO SBT_ is an sbt plugin for ZIO projects. It provides high-level SBT utilitie Add the following lines to your `plugin.sbt` file: ```scala -addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.6") +addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.3.7") ``` Then you can enable it by using the following code in your `build.sbt` file: diff --git a/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala b/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala index 2fef9420..9bd981e8 100644 --- a/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala +++ b/zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala @@ -298,7 +298,7 @@ object WebsitePlugin extends sbt.AutoPlugin { lazy val revertIndexChanges: Def.Initialize[Task[Unit]] = Def.task { if (normalizedVersion.value.endsWith("-SNAPSHOT")) { exit("rm docs/index.md".!) - exit("cp docs/index.md.bak docs/index.md".!) + exit("mv docs/index.md.bak docs/index.md".!) } }