1
0
Fork 0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-05-06 11:16:07 +02:00

Reset 'builddate` when each device build starts

Fixes #562
This commit is contained in:
Pete Fotheringham 2024-01-30 08:03:59 +00:00
parent f0b871fe60
commit 0ba2d82dfa

View File

@ -318,7 +318,9 @@ for branch in ${BRANCH_NAME//,/ }; do
for codename in ${devices//,/ }; do
if [ -n "$codename" ]; then
builddate=$(date +%Y%m%d)
if [ "$BUILD_OVERLAY" = true ]; then
lowerdir=$SRC_DIR/$branch_dir
upperdir=$TMP_DIR/device