Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-12-23 23:49:07 +0100
committerLevente Polyak <anthraxx@archlinux.org>2024-01-10 00:14:14 +0100
commitef04960b98595de8f9405d0069324b6b1fddb5ba (patch)
tree0c0efbcf92a36d40669943ba5aa1cdd276d045ae /src
parentd210079037d34fd32fc9a84e490655204bae103a (diff)
feat(build): update srcinfo file after build
The srcinfo file is essentially a representation of the current build recipes, hence generate an up to date version by adding it as secondary build artifact to the build process. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/lib/build/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh
index 8b4240c..a19dd37 100644
--- a/src/lib/build/build.sh
+++ b/src/lib/build/build.sh
@@ -429,6 +429,10 @@ pkgctl_build() {
fi
done
+ # auto generate .SRCINFO
+ # shellcheck disable=SC2119
+ write_srcinfo_file
+
# release the build
if (( RELEASE )); then
pkgctl_release --repo "${pkgrepo}" "${RELEASE_OPTIONS[@]}"