diff --git a/.bumpversion.toml b/.bumpversion.toml index b158fc7aa..d7bfb7de9 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -23,6 +23,8 @@ allow_dirty = true commit = true message = "Bump version: {current_version} → {new_version}" commit_args = "" +# bump-my-version >=1.4.0 rejects pre_commit_hooks containing shell syntax unless opted in. +allow_shell_hooks = true # Java maven files pre_commit_hooks = [ diff --git a/python/.bumpversion.toml b/python/.bumpversion.toml index 6fe49c85f..02d3d4cf8 100644 --- a/python/.bumpversion.toml +++ b/python/.bumpversion.toml @@ -23,6 +23,8 @@ allow_dirty = true commit = true message = "Bump version: {current_version} → {new_version}" commit_args = "" +# bump-my-version >=1.4.0 rejects pre_commit_hooks containing shell syntax unless opted in. +allow_shell_hooks = true # Update Cargo.lock after version bump pre_commit_hooks = [