From 0ba2d82dfa049ce93f38e69184326b1d5e30dd70 Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Tue, 30 Jan 2024 08:03:59 +0000 Subject: [PATCH] Reset 'builddate` when each device build starts Fixes #562 --- src/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/build.sh b/src/build.sh index 0915658..57a0d0d 100755 --- a/src/build.sh +++ b/src/build.sh @@ -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