diff --git a/plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala b/plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala index 3996207..127da11 100644 --- a/plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala +++ b/plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala @@ -142,7 +142,8 @@ object CiReleasePlugin extends AutoPlugin { case Some(cmd) => cmd case None => backPubVersionToCommand(v) } - } + }, + version ~= dropBackPubCommand ) override lazy val globalSettings: Seq[Def.Setting[_]] = List( @@ -218,7 +219,7 @@ object CiReleasePlugin extends AutoPlugin { ) override lazy val projectSettings: Seq[Def.Setting[_]] = List( - version ~= dropBackPubCommand, + version := (ThisBuild / version).value, publishConfiguration := publishConfiguration.value.withOverwrite(true), publishLocalConfiguration :=