Skip to content

Warning about version mismatch with tags #318

@Julfried

Description

@Julfried

When running bump-my-version with a development version that's ahead of the latest tag (which is expected in most development workflows), the tool issues a warning. For example in my setup the current released and tagged version is 0.1.4 and I am currently working on 0.1.5dev. With this setup I get the following error when running:

bump-my-version bump release
   Specified version (0.1.5dev) does not match last tagged version (0.1.4)

This warning is unhelpful and potentially confusing because:

  1. In standard development workflows, the current version e.g. in pkginfo.py will intentionally be ahead of the latest tagged version
  2. The warning suggests something is wrong, but the operation completes successfully
  3. There's no way to suppress this warning through configuration as far as I know

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