Add --pinentry-mode=loopback to deployment script

Apparently this changed with gpg2 or... something like that?
This commit is contained in:
Alex Crichton 2018-12-13 08:19:06 -08:00
parent 9fe5cb5342
commit b1858677ce

View file

@ -621,7 +621,8 @@ impl Builder {
let asc = self.output.join(format!("{}.asc", filename));
println!("signing: {:?}", path);
let mut cmd = Command::new("gpg");
cmd.arg("--no-tty")
cmd.arg("--pinentry-mode=loopback")
.arg("--no-tty")
.arg("--yes")
.arg("--batch")
.arg("--passphrase-fd").arg("0")