From 1bc454f55ff573486a52390a1d653ba7acd45601 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Oct 2018 09:17:29 +0200 Subject: upload-to-bootstrap: sign packages --- upload-to-bootstrap | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'upload-to-bootstrap') 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}" -- cgit v1.2.3-70-g09d2