diff options
-rwxr-xr-x | bin/build-packages | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages index 295f092..35faf5c 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -176,7 +176,11 @@ while [ ${count} -ne 0 ]; do # build successful ls -1 *.pkg.tar.xz | \ xargs -rn1 gpg --local-user="${package_key}" --detach-sign - tar -cf 'package.tar' *.pkg.tar.xz{,.sig} + tar -cf 'package.tar' $( + ls -1 | \ + grep '\.pkg\.tar\.xz\(\.sig\)\?$' | \ + grep -v -- '-debug-' + ) while true; do err=0 ssh \ |