From 47eb2cfc36bc088ab20f59395d25ec3f952e722a Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 18 Dec 2023 06:30:24 +0000 Subject: [PATCH] Include uncommitted changes in image hash --- build-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-common.sh b/build-common.sh index fae698d..e2b20f6 100755 --- a/build-common.sh +++ b/build-common.sh @@ -1,4 +1,4 @@ -TAG_UNIQUE_ID=`git ls-tree HEAD | sha256sum | cut -c-16` +TAG_UNIQUE_ID=`(git ls-tree HEAD; git diff-index HEAD) | sha256sum | cut -c-16` TAG_NAME="${TARGET_NAME}_${TAG_UNIQUE_ID}" OUT_DIR="out_$TARGET_NAME"