diff --git a/.githooks/post-commit b/.githooks/post-commit index eb805fe49e229af5f40dc59fdf6fcf7af387cf15..4959421e810564e5761349b396a51ec2dd753f32 100644 --- a/.githooks/post-commit +++ b/.githooks/post-commit @@ -1,2 +1,4 @@ #!/bin/bash -git describe --all --long > git-commit-version.txt \ No newline at end of file +mkdir config +git show --abbrev-commit --pretty=format:%h >config/.git-commit-count +git describe --all --long > config/.git-commit-version \ No newline at end of file