Skip to content

Commit 8fd9ee6

Browse files
committed
Add pre commit hook for tbump
1 parent e046c69 commit 8fd9ee6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tbump.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ search = '"VERSION": "{current_version}"'
2929
# run after the files have been patched
3030
# and before the git commit is made
3131

32-
# [[before_commit]]
33-
# name = "check changelog"
34-
# cmd = "grep -q {new_version} Changelog.rst"
32+
[[before_commit]]
33+
name = "Run all tests"
34+
cmd = "make test-n-cover"
3535

3636
# Or run some commands after the git tag and the branch
3737
# have been pushed:

0 commit comments

Comments
 (0)