diff --git a/.husky/pre-commit b/.husky/pre-commit index 1aab67d..45ed10d 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -23,4 +23,9 @@ if ! pnpm lint; then exit 1 fi +# Update commit.json with the latest commit hash +COMMIT_HASH=$(git rev-parse HEAD) +echo "{ \"commit\": \"$COMMIT_HASH\" }" > app/commit.json +git add app/commit.json + echo "👍 All good! Committing changes..." diff --git a/app/commit.json b/app/commit.json index 64e78b6..45cf76f 100644 --- a/app/commit.json +++ b/app/commit.json @@ -1 +1 @@ -{ "commit": "4b36601061652ec2ec3cb1f1d5c7cc5649690bbb" } +{ "commit": "b16aab1f167d91903592e33357ae38e304ca7f65" }