From dc27a17a2cccda771a14a0c5c8b3d10de8d088a4 Mon Sep 17 00:00:00 2001 From: Leonard Akinmolayan Date: Thu, 3 Feb 2022 08:24:25 +0100 Subject: [PATCH] Fail if tag is older than base version #105 --- .../scala/org/typelevel/sbt/TypelevelVersioningPlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioning/src/main/scala/org/typelevel/sbt/TypelevelVersioningPlugin.scala b/versioning/src/main/scala/org/typelevel/sbt/TypelevelVersioningPlugin.scala index 4749bb00..c2109f37 100644 --- a/versioning/src/main/scala/org/typelevel/sbt/TypelevelVersioningPlugin.scala +++ b/versioning/src/main/scala/org/typelevel/sbt/TypelevelVersioningPlugin.scala @@ -77,7 +77,7 @@ object TypelevelVersioningPlugin extends AutoPlugin { if (previous > baseV) sys.error(s"Your tlBaseVersion $baseV is behind the latest tag $previous") else if (!baseV.isSameSeries(previous)) - sys.error(s"Your tlBaseVersion $baseV has to be same with latest tag $previous") + sys.error(s"Your tlBaseVersion $baseV has to be in the same series with latest tag $previous") else Some(previous) }