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 11:36:36 UTC

[incubator-pekko-persistence-jdbc] 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-persistence-jdbc.git


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

commit fcbe676cb2b02f421358c33f134a28027aa78d45
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Sat Mar 11 10:20:49 2023 +0100

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

diff --git a/project/ProjectAutoPlugin.scala b/project/ProjectAutoPlugin.scala
index e8b0278..66a71ec 100644
--- a/project/ProjectAutoPlugin.scala
+++ b/project/ProjectAutoPlugin.scala
@@ -7,17 +7,18 @@
  * This file is part of the Apache Pekko project, derived from Akka.
  */
 
-import com.geirsson.CiReleasePlugin
 import sbt.Keys._
 import sbt._
 import sbt.plugins.JvmPlugin
 import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
 import SonatypeApachePlugin.autoImport.apacheSonatypeDisclaimerFile
+import sbtdynver.DynVerPlugin
+import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots
 
 object ProjectAutoPlugin extends AutoPlugin {
   object autoImport {}
 
-  override val requires = JvmPlugin && CiReleasePlugin && SonatypeApachePlugin
+  override val requires = JvmPlugin && SonatypeApachePlugin && DynVerPlugin
 
   override def globalSettings =
     Seq(
@@ -85,6 +86,9 @@ object ProjectAutoPlugin extends AutoPlugin {
     resolvers += Resolver.jcenterRepo,
     apacheSonatypeDisclaimerFile := Some((LocalRootProject / baseDirectory).value / "DISCLAIMER"))
 
+  override lazy val buildSettings = Seq(
+    dynverSonatypeSnapshots := true)
+
   val disciplineScalacOptions = Set(
 //    "-Xfatal-warnings",
     "-feature",
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 272ebe8..e6ce72a 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -7,9 +7,8 @@ addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
 addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")
 
 // release
-addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
 addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
-addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.5")
+addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.6")
 // docs
 addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
 addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org