(refs #1748) Exclude gitbucket.war from published artifacts

This commit is contained in:
Naoki Takezoe
2017-10-22 01:24:43 +09:00
parent 86ff842eb2
commit f36bcef50c

View File

@@ -1,4 +1,5 @@
import com.typesafe.sbt.license.{LicenseInfo, DepModuleInfo} import com.typesafe.sbt.license.{LicenseInfo, DepModuleInfo}
import com.typesafe.sbt.pgp.PgpKeys._
val Organization = "io.github.gitbucket" val Organization = "io.github.gitbucket"
val Name = "gitbucket" val Name = "gitbucket"
@@ -100,7 +101,7 @@ javaOptions in Jetty ++= Option(System.getenv().get("JREBEL")).toSeq.flatMap { p
} }
// Exclude a war file from published artifacts // Exclude a war file from published artifacts
packagedArtifacts := { signedArtifacts := {
packagedArtifacts.value.filterNot { case (artifact, file) => file.getName.endsWith(".war") } packagedArtifacts.value.filterNot { case (artifact, file) => file.getName.endsWith(".war") }
} }