summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-19 09:15:56 +0200
committerErich Eckner <git@eckner.net>2017-10-19 09:15:56 +0200
commitc7e75a83437633b0664407e5f802ee7681c35543 (patch)
tree762f893593c3c3b89f0d9b1429f8872733fdbf99
parent9f23a876fdfaa1b9cf2897fe0ffeffeb93ae9a81 (diff)
downloadbuilder-c7e75a83437633b0664407e5f802ee7681c35543.tar.xz
bin/build-packages: show log in case of successful build and no upload
-rwxr-xr-xbin/build-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 158e6e1..a78225e 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -301,6 +301,8 @@ while [ "${count}" -ne 0 ]; do
gpg --local-user="${package_key}" --detach-sign {} \;
if ${upload_to_build_master}; then
find . -maxdepth 1 -name '*.build-log' -execdir gzip '{}' \;
+ else
+ find . -maxdepth 1 -name '*.build-log' -execdir grep -HF '' '{}' \;
fi
# shellcheck disable=SC2046
tar -cf 'package.tar' -- $(