From 79191bf7d1c0a21bc588c4a9c049ec0a49c7a7d8 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sat, 20 Dec 2025 17:05:40 -0800 Subject: [PATCH] fix(hooks): add version markers to shim templates --- cmd/bd/templates/hooks/post-checkout | 1 + cmd/bd/templates/hooks/post-merge | 1 + cmd/bd/templates/hooks/pre-commit | 1 + cmd/bd/templates/hooks/pre-push | 1 + 4 files changed, 4 insertions(+) diff --git a/cmd/bd/templates/hooks/post-checkout b/cmd/bd/templates/hooks/post-checkout index b63ba72f..7cfc500f 100755 --- a/cmd/bd/templates/hooks/post-checkout +++ b/cmd/bd/templates/hooks/post-checkout @@ -1,5 +1,6 @@ #!/bin/sh # bd-shim v1 +# bd-hooks-version: 0.31.0 # # bd (beads) post-checkout hook - thin shim # diff --git a/cmd/bd/templates/hooks/post-merge b/cmd/bd/templates/hooks/post-merge index bd3a004f..c3581d75 100755 --- a/cmd/bd/templates/hooks/post-merge +++ b/cmd/bd/templates/hooks/post-merge @@ -1,5 +1,6 @@ #!/bin/sh # bd-shim v1 +# bd-hooks-version: 0.31.0 # # bd (beads) post-merge hook - thin shim # diff --git a/cmd/bd/templates/hooks/pre-commit b/cmd/bd/templates/hooks/pre-commit index 1cf83dde..c540f60f 100755 --- a/cmd/bd/templates/hooks/pre-commit +++ b/cmd/bd/templates/hooks/pre-commit @@ -1,5 +1,6 @@ #!/bin/sh # bd-shim v1 +# bd-hooks-version: 0.31.0 # # bd (beads) pre-commit hook - thin shim # diff --git a/cmd/bd/templates/hooks/pre-push b/cmd/bd/templates/hooks/pre-push index 3fdcaf86..1541b0d3 100755 --- a/cmd/bd/templates/hooks/pre-push +++ b/cmd/bd/templates/hooks/pre-push @@ -1,5 +1,6 @@ #!/bin/sh # bd-shim v1 +# bd-hooks-version: 0.31.0 # # bd (beads) pre-push hook - thin shim #