Skip to content

Commit

Permalink
Merge branch 'main' into idea-module-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Aug 9, 2024
2 parents 99dcf61 + cac477e commit 6498c56
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6498c56

Please sign in to comment.