summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-16 14:52:41 +0200
committerErich Eckner <git@eckner.net>2017-10-16 14:52:41 +0200
commit43a932816ed014e193d91c04a6d355baa6deb41d (patch)
treee1662e4389ca2bff1a47b91945db2b9267ff531b /bin/build-packages
parent2a1ddc4c1c96b54da3dc0e2e92c40b8317bb3ad6 (diff)
downloadbuilder-43a932816ed014e193d91c04a6d355baa6deb41d.tar.xz
bin/build-packages, bin/return-assignment: gzip build-logs
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 69c5b56..158e6e1 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -299,9 +299,12 @@ while [ "${count}" -ne 0 ]; do
>&2 printf ' ok.\n'
find . -maxdepth 1 -type f -name '*.pkg.tar.xz' -exec \
gpg --local-user="${package_key}" --detach-sign {} \;
+ if ${upload_to_build_master}; then
+ find . -maxdepth 1 -name '*.build-log' -execdir gzip '{}' \;
+ fi
# shellcheck disable=SC2046
tar -cf 'package.tar' -- $(
- find . -maxdepth 1 \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' -o -name '*.build-log' \) -not -name '*-debug-*' -printf '%f\n'
+ find . -maxdepth 1 \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' -o -name '*.build-log.gz' \) -not -name '*-debug-*' -printf '%f\n'
)
while ${upload_to_build_master}; do
err=0