geddski / grunt-release

Release a new version of your Node-based project
MIT License
388 stars 121 forks source link

[Question] Is there a way to add additonal files to commit? #145

Open svattenky opened 8 years ago

svattenky commented 8 years ago

I am generating some release notes with a different tool and would like have the CHANGELOG.md i am creating be part of the commit. Is there a way to add these additional files?

dorgan commented 8 years ago

Take a look at the additionalFiles parameter, you may be able to update some code and open a PR to have it update other non JSON files.

dorgan commented 8 years ago

@angelblade27 just trying to understand how this feature should work, would this be a brand new file created for each release or is it an existing file that has an ever growing list of changes?

bago commented 6 years ago

We use beforeRelease to do some cleanup and add some generated file that should be present in the release. The file is always regenerated.

I tried add: ['mygeneratedfile.txt'] but it doesn't work. Maybe add option can be simply improved so that if you use an array instead of true|falso it will do the add of the files listed.