Skip to content

Commit

Permalink
Merge pull request #490 from mkurz/rename_main
Browse files Browse the repository at this point in the history
Rename master branch to main
  • Loading branch information
mkurz authored Feb 6, 2022
2 parents 54c4f73 + c5965be commit f96c3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/Omnidoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import sbt.Package.ManifestAttributes
import sbt._

/**
* Copied in from https://github.com/playframework/interplay/blob/master/src/main/scala/interplay/Omnidoc.scala
* Copied in from https://github.com/playframework/interplay/blob/main/src/main/scala/interplay/Omnidoc.scala
*
* This AutoPlugin adds the `Omnidoc-Source-URL` key on the MANIFEST.MF of artifact-sources.jar so later Omnidoc can use
* that value to link scaladocs to GitHub sources.
Expand Down Expand Up @@ -33,7 +33,7 @@ object Omnidoc extends AutoPlugin {
override def projectSettings =
Seq(
omnidocSourceUrl := omnidocGithubRepo.map { repo =>
val development: String = (omnidocSnapshotBranch ?? "master").value
val development: String = (omnidocSnapshotBranch ?? "main").value
val tagged: String = omnidocTagPrefix.getOrElse("v") + version.value
val tree: String = if (isSnapshot.value) development else tagged
val prefix: String = "/" + (omnidocPathPrefix ?? "").value
Expand Down

0 comments on commit f96c3d6

Please sign in to comment.