From b1a3e3993ee013b58cee6f02f2e05429d3b3a592 Mon Sep 17 00:00:00 2001 From: Stijnus <72551117+Stijnus@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:22:21 +0100 Subject: [PATCH] debug fixes --- .husky/pre-commit | 5 +++++ app/commit.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 1aab67dc..45ed10da 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 64e78b64..45cf76f9 100644 --- a/app/commit.json +++ b/app/commit.json @@ -1 +1 @@ -{ "commit": "4b36601061652ec2ec3cb1f1d5c7cc5649690bbb" } +{ "commit": "b16aab1f167d91903592e33357ae38e304ca7f65" }