You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/04/09 18:21:53 UTC
logging-log4j-scala git commit: Configure release settings
Repository: logging-log4j-scala
Updated Branches:
refs/heads/master 32c28b3e5 -> ed7190b57
Configure release settings
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/ed7190b5
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/ed7190b5
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/ed7190b5
Branch: refs/heads/master
Commit: ed7190b57e984a04b5df243bc8061aa62f26bd6d
Parents: 32c28b3
Author: Matt Sicker <bo...@gmail.com>
Authored: Mon Apr 9 13:15:28 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Mon Apr 9 13:15:28 2018 -0500
----------------------------------------------------------------------
build.sbt | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/ed7190b5/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index 130f45b..fe8d95a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -90,7 +90,27 @@ lazy val sourceSettings = Seq(
)
lazy val releaseSettings = Seq(
- releaseCrossBuild := true
+ releaseCrossBuild := true,
+ releasePublishArtifactsAction := PgpKeys.publishSigned.value,
+ releaseVcsSign := true,
+ releaseProcess := {
+ import ReleaseTransformations._
+ Seq(
+ checkSnapshotDependencies,
+ inquireVersions,
+ runClean,
+ releaseStepTask(auditCheck),
+ runTest,
+ setReleaseVersion,
+ commitReleaseVersion,
+ tagRelease,
+ releaseStepTask(packageSite),
+ publishArtifacts,
+ setNextVersion,
+ commitNextVersion,
+ pushChanges
+ )
+ }
)
lazy val siteSettings = Seq(
@@ -99,7 +119,11 @@ lazy val siteSettings = Seq(
managedSources in Asciidoc += {
(auditReport in Compile).value
(target in Compile).value / "rat.adoc"
- }
+ },
+ mappings in makeSite ++= Seq(
+ (baseDirectory.value / "LICENSE.txt", "LICENSE"),
+ (baseDirectory.value / "NOTICE.txt", "NOTICE")
+ )
)
lazy val apiDependencies = Seq(