Skip to content

Commit b3738fe

Browse files
committed
Add workaround for gpg2 incompat
1 parent 2efff3c commit b3738fe

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ThisBuild / githubWorkflowEnv ++= Map(
1616
ThisBuild / githubWorkflowTargetTags += "v*"
1717
ThisBuild / githubWorkflowPublish := Seq(WorkflowStep.Sbt(List("ci-release")))
1818

19+
import com.jsuereth.sbtpgp.PgpKeys.gpgCommand
20+
Global / gpgCommand := (baseDirectory.value / "gpg.sh").getAbsolutePath
1921

2022
lazy val root = project.in(file("."))
2123
.aggregate(core.jvm, core.js, munit.jvm, munit.js)

gpg.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#! /bin/sh
2+
# From https://github.com/sbt/sbt-pgp/issues/173
3+
gpg --pinentry-mode loopback $@
4+

0 commit comments

Comments
 (0)