Skip to content

Commit

Permalink
Fix Sonatype docs version fetcher temporarily
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jvican committed Oct 1, 2019
1 parent 4316c4b commit 84f9e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-gen/src/main/scala/bloop/docs/Sonatype.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 84f9e1d

Please sign in to comment.