diff --git a/docs/package.mill b/docs/package.mill index 8392050004e..e7754fa58f9 100644 --- a/docs/package.mill +++ b/docs/package.mill @@ -291,7 +291,7 @@ object `package` extends RootModule { val millDownloadUrl = if ( - Ordering.Implicits.seqOrdering[Seq, String].lt(version.split('.'), Seq("0", "12", "6")) + Ordering.Implicits.seqOrdering[Seq, String].lt(millLastTag.split('.'), Seq("0", "12", "6")) ) { s"${build.Settings.projectUrl}/releases/download/$millLastTag" } else {