From 84f9e1db16e5c3d2f7db1a60fe846f5dc41ecab3 Mon Sep 17 00:00:00 2001 From: Jorge Vicente Cantero Date: Tue, 1 Oct 2019 22:55:24 +0100 Subject: [PATCH] Fix `Sonatype` docs version fetcher temporarily Sonatype seems to have removed all versions from the staging directory somehow so all of this logic just fails. Let's specify the version number manually and change that in the future when we figure out what's happening here. --- docs-gen/src/main/scala/bloop/docs/Sonatype.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-gen/src/main/scala/bloop/docs/Sonatype.scala b/docs-gen/src/main/scala/bloop/docs/Sonatype.scala index 1f4bff1890..743ecd1c1e 100644 --- a/docs-gen/src/main/scala/bloop/docs/Sonatype.scala +++ b/docs-gen/src/main/scala/bloop/docs/Sonatype.scala @@ -17,8 +17,8 @@ case class Release(version: String, lastModified: Date) { } object Sonatype { - lazy val releaseBloop = Sonatype.fetchLatest("bloop-frontend_2.12", "staging") - lazy val releaseLauncher = Sonatype.fetchLatest("bloop-launcher_2.12", "staging") + lazy val releaseBloop = current //Sonatype.fetchLatest("bloop-frontend_2.12", "staging") + lazy val releaseLauncher = current //Sonatype.fetchLatest("bloop-launcher_2.12", "staging") // Copy-pasted from https://github.com/scalameta/metals/blob/994e5e6746ad327ce727d688ad9831e0fbb69b3f/metals-docs/src/main/scala/docs/Snapshot.scala lazy val current: Release = Release(BuildInfo.version, new Date())