From 1a7173feb8ff6d26a14c3a7f63fa92e686d23512 Mon Sep 17 00:00:00 2001 From: bri Date: Tue, 13 Feb 2024 23:51:14 -0500 Subject: [PATCH] add date to filename --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 11ec778fb..be78068b6 100755 --- a/build.sh +++ b/build.sh @@ -120,7 +120,7 @@ BUILD_IMAGE(){ BASE_FILE="$(basename "${BUILD_FILE}")" CUT_FILE="$(cut -d- -f2- <<<"${BASE_FILE}")" HASH=$(cut -b-5 <<<"${BASE_FILE}") - OUTNAME="build/$(_PREFIX)${HASH}_${TARGET}_${CUT_FILE}" + OUTNAME="build/$(_PREFIX)${HASH}-$(date -I)_${TARGET}_${CUT_FILE}" #cp --sparse "${BUILD_FILE}" "${OUTNAME}" ln -vs "${BUILD_FILE}" "${OUTNAME}" }