absolute-version / commit-and-tag-version

Fork of the excellent standard-version. Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org :trophy:
ISC License
360 stars 33 forks source link

fix: Add debug messages for exclusions during bump lifecycle #131

Closed SchulteMarkus closed 3 months ago

SchulteMarkus commented 4 months ago

Code has been modified to include debug messages in the bump lifecycle. When a filename is ignored by Git or is not a file, the program will now log a debug-level message.

SchulteMarkus commented 4 months ago

I had a wrong gitignore file. These debug outputs would have helped me to identify the cause more quickly. While this change would have helped, I'd like to ask: Why shouldn't you bump the bumpFiles if they are in the gitignore? Updating the bumpFiles does no harm, gitignore takes over the task of not committing unwanted files.

SchulteMarkus commented 3 months ago

I like to contribute something if I can. Thanks for the feedback, I've adjusted the code accordingly.