From 67b4bb89dbd626d968745e5629b03d103040a590 Mon Sep 17 00:00:00 2001 From: projectdx Date: Sun, 11 Jan 2026 20:28:06 +0900 Subject: [PATCH] tools: install pre-commit hook --- .githooks/pre-commit | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .githooks/pre-commit diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100755 index 0000000..5b723d3 --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Run the bump script to increment the patch version in pubspec.yaml and stage it +./scripts/bump_patch_version.sh || true