MyKindlebox/.githooks/pre-commit

5 lines
219 B
Bash

#!/bin/sh
# Bumps the app's patch version on every commit that touches mykindlebox/.
# Enabled per clone with: git config core.hooksPath .githooks
exec node "$(git rev-parse --show-toplevel)/.githooks/bump-version.mjs"