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:
parent
f2ceed579c
commit
264eee5c36
@ -328,6 +328,13 @@ for codename in ${devices//,/ }; do
|
|||||||
continue
|
continue
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
# More stuff to do
|
# More stuff to do
|
||||||
|
Loading…
Reference in New Issue
Block a user