diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2023-12-23 23:49:07 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-01-10 00:14:14 +0100 |
commit | ef04960b98595de8f9405d0069324b6b1fddb5ba (patch) | |
tree | 0c0efbcf92a36d40669943ba5aa1cdd276d045ae /src/lib/build/build.sh | |
parent | d210079037d34fd32fc9a84e490655204bae103a (diff) | |
download | devtools-ef04960b98595de8f9405d0069324b6b1fddb5ba.tar.xz |
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/lib/build/build.sh')
-rw-r--r-- | src/lib/build/build.sh | 4 |
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[@]}" |