From 0432d3b0c323b2727ba238025f4752cb0e5bc131 Mon Sep 17 00:00:00 2001 From: Olivier Filangi Date: Thu, 6 Jul 2023 17:21:31 +0200 Subject: [PATCH] 0.2.1 (#71) * update assembly dependencies (#69) Co-authored-by: Olivier Filangi * Fix assembly (#70) * update assembly dependencies * fix creation assembly directory --------- Co-authored-by: Olivier Filangi * update version to 0.2.1 --------- Co-authored-by: Olivier Filangi --- build.sbt | 3 ++- docker/Dockerfile | 2 +- project/plugins.sbt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index e1ac5ad..96c6815 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,7 @@ scmInfo := Some( ) versionScheme := Some("early-semver") -val static_version = "0.2.0" +val static_version = "0.2.1" val version_build = scala.util.Properties.envOrElse("PROG_VERSION", static_version ) version := version_build @@ -75,6 +75,7 @@ publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true) pomIncludeRepository := { _ => false } publishMavenStyle := true assembly / target := file("assembly") +assembly / assemblyJarName := s"p2m2-$static_version.jar" assembly / logLevel := Level.Info assembly / assemblyMergeStrategy := { case PathList("META-INF", xs @ _*) => MergeStrategy.last diff --git a/docker/Dockerfile b/docker/Dockerfile index bd6dc0b..633369e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,7 +22,7 @@ RUN git clone ${REPOSITORY_URL} /p2m2tools_repo WORKDIR /p2m2tools_repo -RUN git checkout ${BRANCH} && sbt coverageOff assembly +RUN git checkout ${BRANCH} && mkdir -p assembly && sbt coverageOff assembly COPY p2m2tools /usr/bin/ diff --git a/project/plugins.sbt b/project/plugins.sbt index 592c8a5..27f49f5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.1.0") +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.1") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.0") addSbtPlugin("io.crashbox" % "sbt-gpg" % "0.2.1") addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")