angular-redux / ng-redux

Angular bindings for Redux
MIT License
1.16k stars 178 forks source link

Add standard version as part of the release process #210

Open AntJanus opened 5 years ago

AntJanus commented 5 years ago

The release process right now is cumbersome af. Right now, we have to:

  1. bump version manually
  2. npm install (to get the version bump into package-lock)
  3. npm publish (to build/publish new version)
  4. commit the new files
  5. tag the new files
  6. push tag/commit out
  7. forget to create the actual release

But wait...the changelog doesn't get updated!

I say we simplify this using standard-version at all times (we already refer to it in various files as the guideline for commits). This way we can:

  1. run standard-version -s "chore(release): %s" which will bump version, create a commit, create a tag, update changelog
  2. run git push origin master --follow-tags && npm publish

Or just make this part of the prepublish step.

The main reason we can use this new method is because we don't keep the generated files in the repo anymore.