Open kmfarley11 opened 3 years ago
Additional rationale/use-case: if you move one of the bump2version config locations, even if the new location has the right version, it'll error that the version isn't found until committing...
i.e. moving
[bumpversion:file:src/__init__.py]
to
[bumpversion:file:src/constants.py]
will cause issues until version is committed in new file
Rather than checking versions from a specific commit, consider a keyword / input / envvar to check the dirty status of the repo.
This may not be worth the effort. but is at least worth considering