diff options
author | Erich Eckner <git@eckner.net> | 2018-10-15 09:17:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-15 09:17:29 +0200 |
commit | 1bc454f55ff573486a52390a1d653ba7acd45601 (patch) | |
tree | 67d5456cac10a67187bcec204f9aefb9b809ff52 /upload-to-bootstrap | |
parent | 7dda901464f690fc9b3876030a32a551c3d1a0cd (diff) | |
download | devops-1bc454f55ff573486a52390a1d653ba7acd45601.tar.xz |
upload-to-bootstrap: sign packages
Diffstat (limited to 'upload-to-bootstrap')
-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}" |