Skip to content

Commit

Permalink
Use Sonatype bundle release
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj committed Oct 13, 2019
1 parent 14095e3 commit 1ac5dce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
java-version: 1.8
- name: Build IntelliJ Plugin
run: sbt coreIntellijSupport/compile
run: sbt coreIntellijSupport/updateIntellij coreIntellijSupport/compile
publish:
needs: [test, build-docs, build-intellij-plugin]
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ lazy val slinky = project.in(file(".")).aggregate(
native,
vr,
hot,
scalajsReactInterop,
coreIntellijSupport
scalajsReactInterop
).settings(
publish := {},
publishLocal := {}
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.13.1")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8")

addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.1.0")

Expand Down
2 changes: 1 addition & 1 deletion publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pomIncludeRepository in ThisBuild := { _ => false }

publishArtifact in Test in ThisBuild := false

publishTo in ThisBuild := Some(Opts.resolver.sonatypeStaging)
publishTo in ThisBuild := sonatypePublishToBundle.value

pomExtra in ThisBuild :=
<url>https://github.com/shadaj/slinky</url>
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ openssl aes-256-cbc -K $encrypted_key -iv $encrypted_iv -in secrets.tar.enc -out

tar xvf secrets.tar

sbt publishSignedAll sonatypeRelease
sbt publishSignedAll coreIntellijSupport/updateIntellij coreIntellijSupport/publishSigned sonatypeBundleRelease

0 comments on commit 1ac5dce

Please sign in to comment.