From d022be51f620954a8e2ffea1cfa61cb56bc07331 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 1 Sep 2021 18:17:25 -0400 Subject: [PATCH] fix the release build (#281) --- .github/workflows/release.yml | 2 +- build.sbt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc33711..c8ff38b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: with: distribution: adopt java-version: 8 - - run: sbt versionCheck ci-release + - run: sbt proj/versionCheck ci-release env: PGP_PASSPHRASE: ${{secrets.PGP_PASSPHRASE}} PGP_SECRET: ${{secrets.PGP_SECRET}} diff --git a/build.sbt b/build.sbt index fd51543..71834e4 100644 --- a/build.sbt +++ b/build.sbt @@ -22,7 +22,8 @@ lazy val proj = crossProject(JSPlatform, JVMPlatform) .crossType(CrossType.Pure) .in(file(".")) .settings(sharedSettings) - // until we have actually published for Scala.js + // until we have actually published for Scala.js. this is also why, + // for now, release.yml does just `proj/versionCheck` instead of `versionCheck` .jvmSettings(versionPolicyIntention := Compatibility.BinaryAndSourceCompatible) .jsSettings(versionPolicyIntention := Compatibility.None) // override sbt-scala-module default (which is unsuitable for Scala.js)