Kristis Makris [off-list ref] writes:
I just tried again tagging with both:
$ git tag TAG_NAME
$ git tag -a TAG_NAME
and I don't get the post-commit hook executed.
Perhaps I missed something ?
You didn't. You did not create any commit. No post-commit hook
runs. There is no post-tag hook.
Can the new commit SHA-1 hash be added as a parameter to the post-commit
hook please ?
Looking at "git-rev-parse HEAD" in your hook should be enough.