fixed post-commit echos

This commit is contained in:
SeaswimmerTheFsh 2024-03-24 04:34:43 -04:00
parent 17fbcfe654
commit 0a81a57d48
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
echo "pre-commit: Refreshing packwiz" echo "post-commit: Refreshing packwiz"
cd src cd src
packwiz refresh packwiz refresh
echo "pre-commit: Adding changes to git" echo "post-commit: Adding changes to git"
git add . git add .
echo "pre-commit: Amending commit with refreshed files" echo "post-commit: Amending commit with refreshed files"
git commit --amend --gpg-sign --no-edit --no-verify git commit --amend --gpg-sign --no-edit --no-verify
echo "pre-commit: Done" echo "post-commit: Done"
exit 0 exit 0