git hooks for semantic versioning