diff options
author | Erich Eckner <git@eckner.net> | 2017-10-19 09:54:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-19 09:54:05 +0200 |
commit | c31b0de18b067a141cd8c2b18a90cfbc6cbf78e5 (patch) | |
tree | 05ebd4d848d95eccd7aea7d78afff7611738d61f /bin/build-packages | |
parent | c7e75a83437633b0664407e5f802ee7681c35543 (diff) | |
download | builder-c31b0de18b067a141cd8c2b18a90cfbc6cbf78e5.tar.xz |
bin/build-packages, bin/return-assignment: upload namcap.log (instead of build-log) for successful builds, insist on namcap.log for uploaded packages
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-x | bin/build-packages | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages index a78225e..21a862b 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -300,13 +300,13 @@ while [ "${count}" -ne 0 ]; do 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 '{}' \; + find . -maxdepth 1 -name '*.pkg.tar.xz-namcap.log' -execdir gzip '{}' \; else - find . -maxdepth 1 -name '*.build-log' -execdir grep -HF '' '{}' \; + find . -maxdepth 1 -name '*.pkg.tar.xz-namcap.log' -execdir grep -HF '' '{}' \; 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.gz' \) -not -name '*-debug-*' -printf '%f\n' + find . -maxdepth 1 \( -name '*.pkg.tar.xz' -o -name '*.pkg.tar.xz.sig' -o -name '*.pkg.tar.xz-namcap.log.gz' \) -not -name '*-debug-*' -printf '%f\n' ) while ${upload_to_build_master}; do err=0 |