updating with tested methods
This commit is contained in:
4
hooks/local/post-commit
Normal file
4
hooks/local/post-commit
Normal 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
|
Reference in New Issue
Block a user