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

@ -352,6 +352,8 @@ 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