diff options
author | Erich Eckner <git@eckner.net> | 2017-10-19 09:15:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-19 09:15:56 +0200 |
commit | c7e75a83437633b0664407e5f802ee7681c35543 (patch) | |
tree | 762f893593c3c3b89f0d9b1429f8872733fdbf99 | |
parent | 9f23a876fdfaa1b9cf2897fe0ffeffeb93ae9a81 (diff) | |
download | builder-c7e75a83437633b0664407e5f802ee7681c35543.tar.xz |
bin/build-packages: show log in case of successful build and no upload
-rwxr-xr-x | bin/build-packages | 2 |
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' -- $( |