Skip to content

Commit

Permalink
Update scalafmt and fix deprecated sbt publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
dacr committed Sep 28, 2024
1 parent 799419d commit 13e962e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.2
version = 3.8.3
runner.dialect = scala3
align.preset = most
maxColumn = 200
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 @@ releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
publishMavenStyle := true
Test / publishArtifact := false
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)

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

0 comments on commit 13e962e

Please sign in to comment.