build: bundle packages even if there are fatal issues

Otherwise it is pretty hard to get a nightly build from a partial run.
This commit is contained in:
Franco Fichtner 2021-09-09 11:10:29 +02:00
parent bbca59c891
commit e45319b5a9
1 changed files with 7 additions and 6 deletions

View File

@ -962,12 +962,6 @@ bundle_packages()
REDOS=${@}
if [ -f ${BASEDIR}/.pkg-err ]; then
echo ">>> ERROR: The build encountered fatal issues!"
cat ${BASEDIR}/.pkg-err
exit 1
fi
if [ -z "${VERSION}" ]; then # XXX
git_describe ${PORTSDIR}
PRODUCT_VERSION=${REPO_VERSION}
@ -1040,6 +1034,13 @@ bundle_packages()
echo ">>> WARNING: The build may have integrity issues!"
cat ${BASEDIR}/.pkg-warn
fi
if [ -f ${BASEDIR}/.pkg-err ]; then
echo ">>> ERROR: The build encountered fatal issues!"
cat ${BASEDIR}/.pkg-err
exit 1
fi
}
setup_packages()