Ensure share repo is updated when versioning #131

Merged
raucao merged 1 commits from dev/version_script into master 2019-06-27 15:51:11 +00:00
raucao commented 2019-06-27 14:43:23 +00:00 (Migrated from github.com)

Currently, it's easy to forget manually pushing to master after versioning/building. In which case things can be merged remotely, and when pulling with rebase the version commit ends up being changed and behind what was actually tagged.

This adds a postversion script which simply pushes to the remote automatically after the version commit and tag have been added by npm.

Currently, it's easy to forget manually pushing to master after versioning/building. In which case things can be merged remotely, and when pulling with rebase the version commit ends up being changed and behind what was actually tagged. This adds a postversion script which simply pushes to the remote automatically after the version commit and tag have been added by npm.
Sign in to join this conversation.