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-management.git


The following commit(s) were added to refs/heads/main by this push:
     new 1b19a68  Replace ci-release with dynver
1b19a68 is described below

commit 1b19a685e86c894e6652df74680831c431b075ea
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat Mar 11 10:44:21 2023 +0100

    Replace ci-release with dynver
---
 project/Common.scala | 8 ++++++--
 project/plugins.sbt  | 4 ++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/project/Common.scala b/project/Common.scala
index 8b546ea..c923b2e 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -1,15 +1,16 @@
-import com.geirsson.CiReleasePlugin
 import com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys._
 import de.heikoseeberger.sbtheader.HeaderPlugin
 import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport._
 import sbt.Keys._
 import sbt._
 import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
+import sbtdynver.DynVerPlugin
+import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots
 
 object Common extends AutoPlugin {
 
   override def trigger = allRequirements
-  override def requires = plugins.JvmPlugin && HeaderPlugin && CiReleasePlugin 
&& SonatypeApachePlugin
+  override def requires = plugins.JvmPlugin && HeaderPlugin && 
SonatypeApachePlugin && DynVerPlugin
 
   val currentYear = "2023"
 
@@ -74,6 +75,9 @@ object Common extends AutoPlugin {
       testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),
       scalaVersion := Dependencies.scala212Version)
 
+  override lazy val buildSettings = Seq(
+    dynverSonatypeSnapshots := true)
+
   private def isJdk8 =
     
VersionNumber(sys.props("java.specification.version")).matchesSemVer(SemanticSelector(s"=1.8"))
 
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 035cb33..831eda0 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -8,8 +8,8 @@ addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")
 addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
 addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.2")
 addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % 
"3.0.2")
-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.typesafe.sbt" % "sbt-git" % "1.0.2")
 addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to