From 48e70faee2b6c1917136bc9e0553a3ecd10826dd Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Thu, 26 Dec 2024 16:34:10 +0100 Subject: [PATCH] commit checksum file too --- .husky/pre-push | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.husky/pre-push b/.husky/pre-push index 360c5ed..130d207 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -28,8 +28,10 @@ fi # Save the new checksum echo "$CURRENT_CHECKSUM" > "$CHECKSUM_FILE" +# Stage the checksum file git add "$CHECKSUM_FILE" + +# Amend the last commit with the updated checksum git commit --amend --no-edit -git push --force-with-lease --force-if-includes echo "Environment variables imported successfully."