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 8deb5e8802
commit 4b0c22fbf5

View File

@ -351,7 +351,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