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>
This commit is contained in:
parent
d210079037
commit
ef04960b98
|
@ -429,6 +429,10 @@ pkgctl_build() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# auto generate .SRCINFO
|
||||||
|
# shellcheck disable=SC2119
|
||||||
|
write_srcinfo_file
|
||||||
|
|
||||||
# release the build
|
# release the build
|
||||||
if (( RELEASE )); then
|
if (( RELEASE )); then
|
||||||
pkgctl_release --repo "${pkgrepo}" "${RELEASE_OPTIONS[@]}"
|
pkgctl_release --repo "${pkgrepo}" "${RELEASE_OPTIONS[@]}"
|
||||||
|
|
Loading…
Reference in New Issue