summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-09 15:49:13 +0200
committerErich Eckner <git@eckner.net>2017-05-09 15:49:13 +0200
commit3296ad9c0c067e95de4e739c22cfc78dae9554c5 (patch)
tree161656dd872c3b64483f488f4c28d4c2c32635d1 /bin/build-packages
parent1fac3b19fb7fa7dc3bdf70b13c6f6a5b94258c19 (diff)
downloadbuilder-3296ad9c0c067e95de4e739c22cfc78dae9554c5.tar.xz
bin/return-assignment, bin/build-packages: sign packages and package data base
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index b54fdcf..859069f 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -6,7 +6,6 @@
# TODOs:
# use different build commands for different repositories - do we need this actually?
-# sign packages
# send logs of failed builds
# handle failed uploads to the build master
@@ -58,7 +57,9 @@ while true; do
rm -f *.pkg.tar.xz
if staging-i686-build ${parameters}; then
# build successful
- tar -c *.pkg.tar.xz | \
+ ls -1 *.pkg.tar.xz | \
+ xargs -rn1 gpg --detach-sign
+ tar -c *.pkg.tar.xz{,.sig} | \
ssh \
-i "${master_build_server_identity}" \
-p "${master_build_server_port}" \