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")