cfpb / capital-framework

The Consumer Financial Protection Bureau's user interface framework
https://cfpb.github.io/capital-framework/
Creative Commons Zero v1.0 Universal
54 stars 29 forks source link

Remove git step from changelog generation #922

Closed contolini closed 5 years ago

contolini commented 5 years ago

The changelog generation script is called at the version stage of npm's lifecycle (see package.json). We shouldn't muck with git in the middle of npm's publishing process.

I had added git checkout CHANGELOG.md as a courtesy in case the user forgot to reset the CHANGELOG after previewing it. For now, let's remove it and just tell the user to ensure CHANGELOG is clean.

See #902.