Open
Description
Is
- commit-and-tag-vesion does not bump a file, if it is being ignored in Git
- This is done by using https://github.com/bmeck/dotignore, which parses the
.gitignore
file
Suggestion
In my opinion, there is no reason to not bump a file if Git ignores it. .gitignore
does it's job, commit-and-tag-version does (only) it's own. My argument is kind of separations of concerns.
Background
- https://github.com/bmeck/dotignore seems dead
- When using commit-and-tag-version, I ran into a bug of bmeck/dotignore (which I don't report as the project seems dead). This bug ultimately led to the package.json in my project not being updated using commit-and-tag-version. My
.gitignore
had an invalid entry, which made bmeck/dotignore behave inappropriately. But well, the package.json would have still be updated if commit-and-tag-version wouldn't check for .gitignore at all - Follow up to fix: Add debug messages for exclusions during bump lifecycle #131