|
|
@ -47,7 +47,14 @@ pub fn generate(verbose: bool) {
|
|
|
|
if path.extension().unwrap() == "zst" || path.extension().unwrap() == "xz" {
|
|
|
|
if path.extension().unwrap() == "zst" || path.extension().unwrap() == "xz" {
|
|
|
|
log!(verbose, "Signing {}", path.display());
|
|
|
|
log!(verbose, "Signing {}", path.display());
|
|
|
|
Command::new("bash")
|
|
|
|
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()
|
|
|
|
.spawn()
|
|
|
|
.unwrap()
|
|
|
|
.unwrap()
|
|
|
|
.wait()
|
|
|
|
.wait()
|
|
|
|