Skip to content

Commit

Permalink
fix the release build (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored Sep 1, 2021
1 parent 0055ba3 commit d022be5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d022be5

Please sign in to comment.