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 4bf7cce  Set version scheme
4bf7cce is described below

commit 4bf7ccea57f6750c898f7717e110ca74ee4823c5
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sun May 28 13:47:59 2023 +0200

    Set version scheme
---
 build.sbt                                      |  1 +
 integration-test/marathon-api-docker/build.sbt | 14 +++++++-------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/build.sbt b/build.sbt
index 43a0ed3..439ce0d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,6 +2,7 @@ import com.typesafe.sbt.packager.docker.{ Cmd, ExecCmd }
 import sbt.Keys.parallelExecution
 
 ThisBuild / apacheSonatypeProjectProfile := "pekko"
+ThisBuild / versionScheme := Some("semver-spec")
 sourceDistName := "incubating-pekko-management"
 
 ThisBuild / resolvers += Resolver.jcenterRepo
diff --git a/integration-test/marathon-api-docker/build.sbt 
b/integration-test/marathon-api-docker/build.sbt
index 73e2801..50204c3 100644
--- a/integration-test/marathon-api-docker/build.sbt
+++ b/integration-test/marathon-api-docker/build.sbt
@@ -2,17 +2,17 @@ import com.typesafe.sbt.packager.docker._
 
 name := "bootstrap-demo-marathon-api-docker"
 
-version := "1.1.4"
-
 scalaVersion := "2.13.10"
 
 enablePlugins(JavaServerAppPackaging)
 
 dockerUsername := sys.env.get("DOCKER_USER")
-
-val pekkoManagementVersion = "1.1.4"
+def pekkoManagementVersion(version: String) = version.split('+')(0)
 
 libraryDependencies ++= Seq(
-  "org.apache.pekko" %% "pekko-management-cluster-bootstrap" % 
pekkoManagementVersion,
-  "org.apache.pekko" %% "pekko-management-cluster-http" % 
pekkoManagementVersion,
-  "org.apache.pekko" %% "pekko-discovery-marathon-api" % 
pekkoManagementVersion)
+  "org.apache.pekko" %% "pekko-management-cluster-bootstrap" % 
pekkoManagementVersion(
+    version.value),
+  "org.apache.pekko" %% "pekko-management-cluster-http" % 
pekkoManagementVersion(
+    version.value),
+  "org.apache.pekko" %% "pekko-discovery-marathon-api" % 
pekkoManagementVersion(
+    version.value))


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

Reply via email to