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