Skip to content

Commit cd683ed

Browse files
committed
fix: πŸ› Rollback: keep the gpg custom script
1 parent 50beea5 commit cd683ed

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

β€ŽMakefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ update-changelog:
3535

3636
.configure-cukebot-in-docker:
3737
[ -f '/home/cukebot/configure' ] && /home/cukebot/configure
38-
# Cucumber team provides the passphrase in this variable
39-
export PGP_PASSPHRASE="$GPG_SIGNING_KEY_PASSPHRASE"
4038
.PHONY: .configure-cukebot-in-docker
4139

4240
.release-in-docker: .configure-cukebot-in-docker default update-changelog update-installdoc .commit-and-push-changelog-and-docs

β€Žbuild.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
128128
Global / publishMavenStyle := true
129129
Global / publishTo := sonatypePublishToBundle.value
130130

131+
// https://github.com/sbt/sbt-pgp/issues/173
132+
Global / PgpKeys.gpgCommand := (baseDirectory.value / "gpg.sh").getAbsolutePath
133+
131134
// https://github.com/xerial/sbt-sonatype#using-with-sbt-release-plugin
132135
releaseCrossBuild := true
133136
releaseProcess := Seq[ReleaseStep](

β€Žgpg.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#! /bin/sh
2+
3+
gpg --passphrase "${GPG_SIGNING_KEY_PASSPHRASE}" --pinentry-mode loopback $@

0 commit comments

Comments
Β (0)