You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/03/11 09:37:40 UTC
[incubator-pekko-http] branch main updated: Replace ci-release with dynver
This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 2d2ec00f9 Replace ci-release with dynver
2d2ec00f9 is described below
commit 2d2ec00f942140fe0c9f19187d3b00faca21944b
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Sat Mar 11 10:07:21 2023 +0100
Replace ci-release with dynver
---
project/Publish.scala | 8 ++++++--
project/plugins.sbt | 4 ++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/project/Publish.scala b/project/Publish.scala
index 0568bca33..1c037d580 100644
--- a/project/Publish.scala
+++ b/project/Publish.scala
@@ -16,14 +16,15 @@ package org.apache.pekko
import scala.language.postfixOps
import sbt.{ Def, _ }
import Keys._
-import xerial.sbt.Sonatype.autoImport.sonatypeProfileName
import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
+import sbtdynver.DynVerPlugin
+import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots
/**
* For projects that are not published.
*/
object NoPublish extends AutoPlugin {
- override def requires = plugins.JvmPlugin
+ override def requires = plugins.JvmPlugin && DynVerPlugin
override def projectSettings = Seq(
publish / skip := true,
@@ -44,4 +45,7 @@ object Publish extends AutoPlugin {
"Apache Pekko HTTP Contributors",
"dev@pekko.apache.org",
url("https://github.com/apache/incubator-pekko-http/graphs/contributors"))))
+
+ override lazy val buildSettings = Seq(
+ dynverSonatypeSnapshots := true)
}
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 6cd8fde84..19133a468 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -32,8 +32,8 @@ addSbtPlugin(("com.lightbend.paradox" % "sbt-paradox-project-info" % "2.0.0").fo
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0")
addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.30")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.0")
-addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
-addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.5")
+addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
+addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.6")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.5")
addSbtPlugin("net.virtual-void" % "sbt-hackers-digest" % "0.1.2")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org