Skip to content

Commit d6cfe60

Browse files
committed
Fix latest-nightly-base file
I misdiagnosed the problem in #10021: the problem isn't that there is no nightly for 3.0, it's that https://dotty.epfl.ch/versions/latest-nightly-base which is used by dottyLatestNightlyBuild contains "3.0" instead of "3.0.0-M1", this commit fixes this.
1 parent 0271039 commit d6cfe60

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)