From bcb5c2b1c7eda316b9c39c75cd530d94437cecf5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 17 Apr 2023 19:44:07 +0200 Subject: bin/build-packages: save the log_file also when success - the package might be broken --- bin/build-packages | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/build-packages b/bin/build-packages index 680eee8..d1a14fc 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -776,6 +776,7 @@ while [ "${count}" -ne 0 ] && \ } fi >&2 printf 'signing package(s)\n' + mv "${log_file}" "${tar_content_dir}/" find . -maxdepth 1 -type f -name '*.pkg.tar.zst' \ -execdir gpg --local-user="${package_key}" --detach-sign '{}' \; \ -execdir mv '{}' '{}.sig' '{}-namcap.log' "${tar_content_dir}/" \; \ @@ -1016,7 +1017,8 @@ while [ "${count}" -ne 0 ] && \ \( \ -name '*.pkg.tar.zst-namcap.log' -o \ -name '*.pkg.tar.zst.so.needs' -o \ - -name '*.pkg.tar.zst.so.provides' \ + -name '*.pkg.tar.zst.so.provides' -o \ + -name '*.build-log' \ \) \ -execdir gzip '{}' \; else -- cgit v1.2.3-70-g09d2