From ca2a9d98a03406c3576521024948d72be684ada0 Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Sat, 21 Jan 2023 12:50:59 +0330 Subject: [PATCH 1/2] use mv instead of cp. --- zio-sbt-website/src/main/scala/zio/sbt/WebsitePlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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".!) } } From 02ebe68d7f1086d89d563b882edf813c7a0a074a Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Sat, 21 Jan 2023 13:02:39 +0330 Subject: [PATCH 2/2] update readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: