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-dynamodb.git
The following commit(s) were added to refs/heads/main by this push:
new fc59c75 Make dynver append -SNAPSHOT to snaphots
fc59c75 is described below
commit fc59c757f10663fc2a423cb25b8884cf43fd4c7d
Author: Matthew de Detrich <[email protected]>
AuthorDate: Fri Mar 10 13:01:19 2023 +0100
Make dynver append -SNAPSHOT to snaphots
---
project/Publish.scala | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/project/Publish.scala b/project/Publish.scala
index 5eea6f1..060bde7 100644
--- a/project/Publish.scala
+++ b/project/Publish.scala
@@ -14,14 +14,15 @@ package org.apache.pekko
import sbt._
import sbt.Keys._
-
import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
import SonatypeApachePlugin.autoImport.apacheSonatypeDisclaimerFile
+import sbtdynver.DynVerPlugin
+import sbtdynver.DynVerPlugin.autoImport.dynverSonatypeSnapshots
object Publish extends AutoPlugin {
override def trigger = allRequirements
- override def requires = SonatypeApachePlugin
+ override def requires = SonatypeApachePlugin && DynVerPlugin
override lazy val projectSettings = Seq(
crossPaths := false,
@@ -31,4 +32,7 @@ object Publish extends AutoPlugin {
"[email protected]",
url("https://github.com/apache/incubator-pekko-persistence-dynamodb/graphs/contributors")),
apacheSonatypeDisclaimerFile := Some((LocalRootProject /
baseDirectory).value / "DISCLAIMER"))
+
+ override lazy val buildSettings = Seq(
+ dynverSonatypeSnapshots := true)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]