From 2d0f1d5bb8909d0e526787f49fbb9bbdd56edd99 Mon Sep 17 00:00:00 2001 From: FabioPinheiro Date: Mon, 24 Oct 2022 11:47:39 +0100 Subject: [PATCH 1/2] feat(mercury): Fix release ATL-2030 --- mercury/mercury-library/build.sbt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mercury/mercury-library/build.sbt b/mercury/mercury-library/build.sbt index f4d7e0642d..7e685cf118 100644 --- a/mercury/mercury-library/build.sbt +++ b/mercury/mercury-library/build.sbt @@ -16,7 +16,7 @@ inThisBuild( ThisBuild / resolvers += Resolver.githubPackages("FabioPinheiro", "scala-did") -val useDidLib = true +val useDidLib = false def didScalaAUX = if (useDidLib) (libraryDependencies += D.didScala.value) else (libraryDependencies ++= Seq()) @@ -66,6 +66,11 @@ lazy val D = new { } + +lazy val root = project + .in(file(".")) + .settings(publish / skip := true) + // ######################### // ### Models & Services ### // ######################### @@ -216,12 +221,14 @@ lazy val agentDidScala = .in(file("agent-did-scala")) .settings(name := "mercury-agent-didscala") .settings( + skip / publish := true, didScalaAUX, if (useDidLib) (Compile / sources ++= Seq()) else (Compile / sources := Seq()), ) .dependsOn(agent) +// ### ReleaseStep ### releaseProcess := Seq[ReleaseStep]( checkSnapshotDependencies, inquireVersions, From 5d574a4416449a49a3d6554fe44c05087021f222 Mon Sep 17 00:00:00 2001 From: FabioPinheiro Date: Mon, 24 Oct 2022 11:59:45 +0100 Subject: [PATCH 2/2] Fix --- mercury/mercury-library/build.sbt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mercury/mercury-library/build.sbt b/mercury/mercury-library/build.sbt index 7e685cf118..201ff33274 100644 --- a/mercury/mercury-library/build.sbt +++ b/mercury/mercury-library/build.sbt @@ -66,10 +66,7 @@ lazy val D = new { } - -lazy val root = project - .in(file(".")) - .settings(publish / skip := true) +publish / skip := true // ######################### // ### Models & Services ###