Skip to content

Commit 8442319

Browse files
authored
Merge pull request #10022 from dotty-staging/fix-latest-nightly-base
Fix latest-nightly-base file
2 parents 0271039 + d6cfe60 commit 8442319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ object Build {
397397

398398
// Make majorVersion available at dotty.epfl.ch/versions/latest-nightly-base
399399
// Used by sbt-dotty to resolve the latest nightly
400-
val majorVersion = baseVersion.take(baseVersion.lastIndexOf('.'))
400+
val majorVersion = (scalaBinaryVersion in LocalProject("scala3-library-bootstrapped")).value
401401
IO.write(file("./docs/_site/versions/latest-nightly-base"), majorVersion)
402402

403403
// This file is used by GitHub Pages when the page is available in a custom domain

0 commit comments

Comments
 (0)