Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option ignoreFile to ignore file's contents like .gitignore #347

Open
its-dibo opened this issue Apr 16, 2022 · 0 comments
Open

add option ignoreFile to ignore file's contents like .gitignore #347

its-dibo opened this issue Apr 16, 2022 · 0 comments

Comments

@its-dibo
Copy link

as mentioned in docs the commit will include everything in assets even if it is included in .gitignore.

you can add an option to ignore a file's contents like that

["@semantic-release/git", {
  assets: ["**/*.*"],
  ignoreFile= '.gitignore'
}]

this approach is used by many tools tile eslint and prettier

also, it is a good idea to add an option to include changed files only

@its-dibo its-dibo changed the title use .gitignore to ignore files add option ignoreFile to ignore file's contents like .gitignore Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant