updating with tested methods

This commit is contained in:
2022-02-07 15:05:00 -07:00
parent db11d6a432
commit b97b438c52
3 changed files with 46 additions and 15 deletions

4
hooks/local/post-commit Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
SHORT_HASH=$(git rev-parse --short HEAD)
sed -i "/^GIT_HASH=\".*\"/ s//GIT_HASH=\"${SHORT_HASH}\"/" .env