1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Call pre-build.sh

This commit is contained in:
Pete Fotheringham 2024-09-02 15:06:46 +01:00
parent f2ceed579c
commit 264eee5c36

@ -328,6 +328,13 @@ for codename in ${devices//,/ }; do
continue
fi
# Call pre-build.sh
if [ -f /root/userscripts/pre-build.sh ]; then
echo ">> [$(date)] Running pre-build.sh for $codename" >> "$DEBUG_LOG"
/root/userscripts/pre-build.sh "$codename" &>> "$DEBUG_LOG" || {
echo ">> [$(date)] Error: pre-build.sh failed for $codename on $branch!"; userscriptfail=true; continue; }
fi
fi
# More stuff to do