mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 15:05:50 +01:00
(refs #1748) Exclude gitbucket.war from published artifacts
This commit is contained in:
@@ -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") }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user