Skip to content

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

Open
@SchulteDev

Description

@SchulteDev

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions