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"