Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-04-17 19:44:07 +0200
committerErich Eckner <git@eckner.net>2023-04-17 19:44:07 +0200
commitbcb5c2b1c7eda316b9c39c75cd530d94437cecf5 (patch)
treeb7860516c9e3cab04ea6c24462331ad29f7b5e0c /bin/build-packages
parent2d69e7b96dfe0ede7fb0e968b4ddcc016646831f (diff)
bin/build-packages: save the log_file also when success - the package might be broken
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages4
1 files changed, 3 insertions, 1 deletions
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