From cac477e86385113a94a1d70850bbc47123df75af Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Thu, 8 Aug 2024 15:17:50 -0700 Subject: [PATCH] Hardcode millBinPlatform to 0.11 (#3353) Since 0.12.x is meant to be bincompatible with 0.11.x --- build.sc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/build.sc b/build.sc index 241deb19585..2301c077b8c 100644 --- a/build.sc +++ b/build.sc @@ -237,12 +237,13 @@ def millLastTag: T[String] = T { } def millBinPlatform: T[String] = T { - val tag = millLastTag() - if (tag.contains("-M")) tag - else { - val pos = if (tag.startsWith("0.")) 2 else 1 - tag.split("[.]", pos + 1).take(pos).mkString(".") - } + //val tag = millLastTag() + //if (tag.contains("-M")) tag + //else { + // val pos = if (tag.startsWith("0.")) 2 else 1 + // tag.split("[.]", pos + 1).take(pos).mkString(".") + //} + "0.11" } def baseDir = build.millSourcePath