1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01: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

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