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
402 stars 39 forks source link

Bump files, which are being ignored in Git, too #135

Open SchulteMarkus opened 6 months ago

SchulteMarkus commented 6 months ago

Is

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

TimothyJones commented 5 months ago

This is a good point. I agree with you, I can't think of a reason not to bump files that happen to be in gitignore.

I think we should either:

  1. Add an option to disable the gitignore check, or
  2. Release a breaking change that disables the gitignore check