Skip to content

cz bump fails when using pre-commit to check commit message #164

@Lee-W

Description

@Lee-W

commitizen version

1.18.1

How to reproduce

mkdir bump_test
cd bump_test
git init
cz init

touch .pre-commit-config.yaml
echo "repos:\n \
  - repo: https://github.com/Woile/commitizen\n\
    rev: v1.18.1\n\
    hooks:\n\
      - id: commitizen\n\
        stages: [commit-msg]" > .pre-commit-config.yaml

pre-commit install -t commit-msg
git add .
cz commit
cz bump

Error Message

git.commit errror: "commitizen check.........................................................Passed"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions