-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing gpgCommand has no effect #133
Comments
The same for me.... Work-around:
|
Probably needs to be scoped globally.
|
I am still getting this issue. Opened a stackoverflow question in case its me doing something wrong: @eed3si9n any thoughts? |
Let me reopen this issue. |
@eed3si9n thx ... is the fix for this simply adding to here: def gpgCommand = PgpKeys.gpgCommand in Global |
I poked at this a bit in the scala-xml repo (as an arbitrary example of a repo that uses this plugin)
note that the global setting changed but the value in each subproject didn't but then:
this time they all changed. so maybe you want |
@SethTisue thanks for taking the time to help with this. Will give your suggestion a try. |
For changing command on Travis CI (Ubuntu) we use the next settings: val gpgSettings = Seq(
useGpgAgent := true,
useGpgPinentry := true,
usePgpKeyHex("XXXXXXX")
) ++ sys.env.get("TRAVIS").map( _ => gpgCommand in Global := "gpg2" )
|
Trying to make sbt-pgp use gpg2 by changing the gpgCommand key, but it doesn't seem to have any effect.
Using
useGpg := true
The text was updated successfully, but these errors were encountered: