summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-02 14:45:44 +0200
committerErich Eckner <git@eckner.net>2017-06-02 14:45:44 +0200
commitb819db442c5814707d65b6576d092838b1700c38 (patch)
tree133d3f0472e02760051f622087ab69254ce6663e
parent0085111c9e5e4f4082540878b824d83004a43dae (diff)
downloadbuilder-b819db442c5814707d65b6576d092838b1700c38.tar.xz
bin/build-packages: do not pack debug-package
-rwxr-xr-xbin/build-packages6
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 \