Skip to content

Commit 72ad75f

Browse files
committed
chore(build): add version script and pre-commit hook to auto-add README.md
- Added "add-readme" hook in lefthook.yml for pre-commit staging of README.md - Enhances automation for documentation updates during versioning and commits
1 parent 5aa3545 commit 72ad75f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lefthook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ pre-commit:
66
doc:
77
run: pnpm doc
88
stage_fixed: true
9+
add-readme:
10+
run: git add README.md

0 commit comments

Comments
 (0)