Include uncommitted changes in image hash

This commit is contained in:
Cameron Gutman
2023-12-18 06:30:24 +00:00
parent eae37a04b4
commit 47eb2cfc36

View File

@@ -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"