dyndnsd/.githooks/post-commit
2024-10-14 14:44:24 +02:00

5 lines
142 B
Bash
Executable file

#!/bin/bash
git cliff --bump > CHANGELOG.md
if ! git diff --quiet -- CHANGELOG.md; then
git commit --amend --no-edit --quiet CHANGELOG.md
fi