Skip to content

Commit

Permalink
Enhance publish configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dacr committed Sep 29, 2024
1 parent be83c61 commit 6fc872e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ ThisBuild / releaseCrossBuild := true
ThisBuild / releasePublishArtifactsAction := PgpKeys.publishSigned.value
ThisBuild / publishMavenStyle := true
ThisBuild / Test / publishArtifact := false
//ThisBuild / Compile / packageBin / publishArtifact := true
//ThisBuild / Compile / packageDoc / publishArtifact := false
//ThisBuild / Compile / packageSrc / publishArtifact := true
ThisBuild / publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)
ThisBuild / publishTo := sonatypePublishToBundle.value //Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)

Global / PgpKeys.useGpg := true // workaround with pgp and sbt 1.2.x
ThisBuild / pgpSecretRing := pgpPublicRing.value // workaround with pgp and sbt 1.2.x
Expand Down

0 comments on commit 6fc872e

Please sign in to comment.