From 9c61ae9edf9b7427a6003cc13f34cf10b930ab33 Mon Sep 17 00:00:00 2001 From: Olafur Pall Geirsson Date: Tue, 24 Mar 2020 12:11:26 +0000 Subject: [PATCH] Fix release for Scalacheck JVM module --- bin/test-release.sh | 18 +++++++++++++++--- build.sbt | 3 +++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/bin/test-release.sh b/bin/test-release.sh index 24b0924f..1583923e 100755 --- a/bin/test-release.sh +++ b/bin/test-release.sh @@ -10,14 +10,26 @@ coursier fetch \ org.scalameta:munit_2.12:$version \ org.scalameta:munit_2.13:$version \ org.scalameta:munit_0.22:$version \ - org.scalameta:munit-docs_2.12:$version \ - org.scalameta:munit-docs_2.13:$version \ + org.scalameta:munit_native0.4.0-M2_2.11:$version \ org.scalameta:munit_sjs0.6_2.11:$version \ org.scalameta:munit_sjs0.6_2.12:$version \ org.scalameta:munit_sjs0.6_2.13:$version \ org.scalameta:munit_sjs1_2.11:$version \ org.scalameta:munit_sjs1_2.12:$version \ - org.scalameta:munit_sjs1_2.13:$version $suffix + org.scalameta:munit_sjs1_2.13:$version \ + org.scalameta:munit-scalacheck_2.11:$version \ + org.scalameta:munit-scalacheck_2.12:$version \ + org.scalameta:munit-scalacheck_2.13:$version \ + org.scalameta:munit-scalacheck_0.22:$version \ + org.scalameta:munit-scalacheck_native0.4.0-M2_2.11:$version \ + org.scalameta:munit-scalacheck_sjs0.6_2.11:$version \ + org.scalameta:munit-scalacheck_sjs0.6_2.12:$version \ + org.scalameta:munit-scalacheck_sjs0.6_2.13:$version \ + org.scalameta:munit-scalacheck_sjs1_2.11:$version \ + org.scalameta:munit-scalacheck_sjs1_2.12:$version \ + org.scalameta:munit-scalacheck_sjs1_2.13:$version \ + org.scalameta:munit-docs_2.12:$version \ + org.scalameta:munit-docs_2.13:$version $suffix coursier fetch \ "org.scalameta:sbt-munit;sbtVersion=1.0;scalaVersion=2.12:$version" \ diff --git a/build.sbt b/build.sbt index 86ca68ea..fea74a5b 100644 --- a/build.sbt +++ b/build.sbt @@ -210,6 +210,9 @@ lazy val munitScalacheck = crossProject(JSPlatform, JVMPlatform, NativePlatform) libraryDependencies += ("org.scalacheck" %%% "scalacheck" % "1.14.3") .withDottyCompat(scalaVersion.value) ) + .jvmSettings( + skip in publish := customScalaJSVersion.isDefined, + ) .nativeConfigure(sharedNativeConfigure) .nativeSettings( sharedNativeSettings,