kmfarley11 / version-checker

Keep tabs on all hardcoded versions in your code
MIT License
0 stars 0 forks source link

consider a --current 'dirty' option #9

Open kmfarley11 opened 3 years ago

kmfarley11 commented 3 years ago

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

kmfarley11 commented 1 year 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