Run git flow automatically before deploying
npm install git-flow-deployInstall it by npm install git-flow-deploy --save-dev.
Add the modules to your deploy scripts in package.json:
```
"scripts": {
"deploy": "./node_modules/git-flow-deploy/index.sh"
},
And then you can run npm run deploy to deploy your mgmco app.
1. Lookup version from package.jsongit flow release start x.x.x
1. Run with new versionpackage.json
1. Update version with new versiongit add -p
1. Run to add the changegit ci -m "Bump version"
1. Run to commit the changegit flow release finish 'x.x.x'
1. Run to finish releasenpm publish` to publish to npm
1. Run
1. Update the apps who uses this deploy script