summaryrefslogtreecommitdiff
path: root/bin/post-commit.githook
diff options
context:
space:
mode:
Diffstat (limited to 'bin/post-commit.githook')
-rwxr-xr-xbin/post-commit.githook6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/post-commit.githook b/bin/post-commit.githook
new file mode 100755
index 0000000..3f576e6
--- /dev/null
+++ b/bin/post-commit.githook
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -e
+d="$(dirname -- "$0")"
+
+"$d"/auto-changelog
+"$d"/pre-generate &>/dev/tty &