Skip to content

Commit 13e962e

Browse files
committed
Update scalafmt and fix deprecated sbt publish config
1 parent 799419d commit 13e962e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.8.2
1+
version = 3.8.3
22
runner.dialect = scala3
33
align.preset = most
44
maxColumn = 200

publish.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ releaseCrossBuild := true
44
releasePublishArtifactsAction := PgpKeys.publishSigned.value
55
publishMavenStyle := true
66
Test / publishArtifact := false
7-
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)
7+
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging)
88

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

0 commit comments

Comments
 (0)