From ef04960b98595de8f9405d0069324b6b1fddb5ba Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Sat, 23 Dec 2023 23:49:07 +0100 Subject: 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 --- src/lib/build/build.sh | 4 ++++ 1 file changed, 4 insertions(+) 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[@]}" -- cgit v1.2.3-70-g09d2