grunt-release icon indicating copy to clipboard operation
grunt-release copied to clipboard

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

Open svattenky opened this issue 9 years ago • 3 comments

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?

svattenky avatar Jan 12 '16 02:01 svattenky

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 avatar Mar 24 '16 15:03 dorgan

@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?

dorgan avatar Apr 30 '16 18:04 dorgan

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.

bago avatar Mar 01 '18 08:03 bago