8000 [BUG] Bump failes if Changelog exists · Issue #357 · commitizen-tools/commitizen · GitHub
[go: up one dir, main page]

Skip to content
[BUG] Bump failes if Changelog exists #357
Closed
@nbrugger-tgm

Description

@nbrugger-tgm

Description

When i run cz bump it fails unless i delete the CHANGELOG.md generated by the last bump. While the version is bumped and all files are changed in regard to the version in there, the commit and tag isn't created

Steps to reproduce

  1. clone https://github.com/FactoryRally/game-controller
  2. checkout commit 45d5049d69ee6c0d3a5b879caa619d1cab58f575
  3. run cz bump
  4. delete CHANGELOG.md
  5. run cz bump again

Current behavior

nitonfx@laptop:/path/game-controller$ cz bump
bump: version 2.2.0b0 → 2.2.0
tag to create: v2.2.0
increment detected: MINOR

No tag found to do an incremental changelog
nitonfx@laptop:/path/game-controller$ rm CHANGELOG.md
nitonfx@laptop:/path/game-controller$ cz bump
bump: version 2.2.0b0 → 2.2.0
tag to create: v2.2.0
increment detected: MINOR

Done!

Desired behavior

A clearer message whats going wrong or it just working.

Environment

  • commitizen version: 2.13.0
  • python version: 2.7.17
  • operating system: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0