Addepar / ember-charts

https://opensource.addepar.com/ember-charts/
Other
784 stars 131 forks source link

Fix release config to update all files containing version number #203

Closed billylittlefield closed 7 years ago

billylittlefield commented 7 years ago

Previously, we relied on a grunt task to update the version number in our "VERSION" file every time grunt dist was run (which occurred whenever we used the grunt release-it plug-in). By removing grunt, we lost this functionality.

This changes adds a script that gets run by release-it prior to committing and pushing a new release. The script automatically pulls the updated version number and overwrites the "VERSION" file with this updated version.

Additionally, this PR adds "bower.json" back to the list of places to update version numbers (this had been removed during the move to Ember-CLI app, and has been updated manually since then).