Skip to content

Commit f8f9093

Browse files
committed
Upgrade sbt and use sbt-gpg to sign artifacts
1 parent 2a372d4 commit f8f9093

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.ci/build

+9-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_TAG" =~ ^v[0-9].* ]]; then
1515

1616
# Set up publishing settings and credentials
1717
cat <<EOF > credentials.sbt
18-
useGpg in Global := true
19-
pgpSigningKey in Global := Some(0x488F99C904F077E8l)
18+
credentials in Global += Credentials(
19+
"GnuPG Key ID",
20+
"gpg",
21+
"DC7751D77486D755815C04AB488F99C904F077E8",
22+
"ignored"
23+
)
2024
credentials in Global += Credentials(
2125
"Sonatype Nexus Repository Manager",
2226
"oss.sonatype.org",
@@ -27,8 +31,8 @@ EOF
2731

2832
# Publish and release
2933
sbt \
30-
+sprayJsonDerivationJVM/publishSigned \
31-
+sprayJsonDerivationJS/publishSigned \
32-
+sprayJsonDerivationNative/publishSigned \
34+
+sprayJsonDerivationJVM/publish \
35+
+sprayJsonDerivationJS/publish \
36+
+sprayJsonDerivationNative/publish \
3337
sonatypeRelease
3438
fi

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# UNRELEASED
22

33
- Upgrade magnolia to official upstream, 0.10.0.
4+
- Upgrade sbt to 1.2.1 and use sbt-gpg.
45

56
# Version 0.6.0
67

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.1.6
1+
sbt.version=1.2.1

project/publish.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
2-
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
2+
addSbtPlugin("io.crashbox" % "sbt-gpg" % "0.2.0")

0 commit comments

Comments
 (0)