From 9803fff57c314b4bb5b0cc9fe713a151d3e6ea6b Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Tue, 8 Oct 2024 07:47:55 +0900 Subject: [PATCH] prepare sbt 2 --- src/main/scala/ReleasePlugin.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/scala/ReleasePlugin.scala b/src/main/scala/ReleasePlugin.scala index b5b72d1..d6262d6 100644 --- a/src/main/scala/ReleasePlugin.scala +++ b/src/main/scala/ReleasePlugin.scala @@ -147,8 +147,11 @@ object ReleasePlugin extends AutoPlugin { private[this] sealed abstract class ParseResult extends Product with Serializable private[this] object ParseResult { final case class ReleaseVersion(value: String) extends ParseResult + object ReleaseVersion extends (String => ParseResult) final case class NextVersion(value: String) extends ParseResult + object NextVersion extends (String => ParseResult) final case class TagDefault(value: String) extends ParseResult + object TagDefault extends (String => ParseResult) case object WithDefaults extends ParseResult case object SkipTests extends ParseResult case object CrossBuild extends ParseResult