diff --git a/.github/workflows/workspace_snippet.sh b/.github/workflows/workspace_snippet.sh index dcb6c00..4ac356c 100755 --- a/.github/workflows/workspace_snippet.sh +++ b/.github/workflows/workspace_snippet.sh @@ -8,8 +8,21 @@ NAME=rules_python_gazelle COMMIT=$(git rev-parse HEAD) PREFIX=${NAME}-${COMMIT} SHA=$(git archive --format=tar --prefix=${PREFIX}/ ${COMMIT} | gzip | shasum -a 256 | awk '{print $1}') +INTEGRITY=$(git archive --format=tar --prefix=${PREFIX}/ ${COMMIT} | gzip | openssl dgst -sha256 -binary | openssl base64 -A) -cat << EOF +cat <