Michal 2 years ago
parent 68c2751b3d
commit e6c10bfd42
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -47,7 +47,14 @@ pub fn generate(verbose: bool) {
if path.extension().unwrap() == "zst" || path.extension().unwrap() == "xz" {
log!(verbose, "Signing {}", path.display());
Command::new("bash")
.args(&["-c", &format!("gpg --default-key {} --detach-sign {}", config.mode.repository.signing.key, file.file_name().to_str().unwrap())])
.args(&[
"-c",
&format!(
"gpg --default-key {} --detach-sign {}",
config.mode.repository.signing.key,
file.file_name().to_str().unwrap()
),
])
.spawn()
.unwrap()
.wait()

Loading…
Cancel
Save