From 3296ad9c0c067e95de4e739c22cfc78dae9554c5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 9 May 2017 15:49:13 +0200 Subject: bin/return-assignment, bin/build-packages: sign packages and package data base --- bin/build-packages | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/build-packages') 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}" \ -- cgit v1.2.3-70-g09d2