Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/upload-to-bootstrap
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-15 09:17:29 +0200
committerErich Eckner <git@eckner.net>2018-10-15 09:17:29 +0200
commit1bc454f55ff573486a52390a1d653ba7acd45601 (patch)
tree67d5456cac10a67187bcec204f9aefb9b809ff52 /upload-to-bootstrap
parent7dda901464f690fc9b3876030a32a551c3d1a0cd (diff)
upload-to-bootstrap: sign packages
Diffstat (limited to 'upload-to-bootstrap')
-rwxr-xr-xupload-to-bootstrap9
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}"