diff options
-rwxr-xr-x | upload-to-bootstrap | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/upload-to-bootstrap b/upload-to-bootstrap index a3a6b34..a1405b7 100755 --- a/upload-to-bootstrap +++ b/upload-to-bootstrap @@ -13,10 +13,13 @@ tmp_file=$(mktemp 'pkgs.XXXXXXXX.tar' --tmpdir) trap 'rm -f "${tmp_file}"' EXIT ssh "${slave_host}" ' - ssh "'"${slave}"'" " - cd '"$1"'; + ssh "'"${slave}"'" '"'"' + cd "'"$1"'"; + for s in *.pkg.tar.xz; do + gpg --detach-sign "$s" + done tar -c *.pkg.tar.xz{,.sig} - " + '"'"' ' > \ "${tmp_file}" |