git-flow-deploy
v1.0.9
Published
Run git flow automatically before deploying
Downloads
17
Readme
Deploy your mgmco apps
Install 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.
Update this package
- Lookup version from
package.json
- Run
git flow release start x.x.x
with new version - Update
package.json
version with new version - Run
git add -p
to add the change - Run
git ci -m "Bump version"
to commit the change - Run
git flow release finish 'x.x.x'
to finish release - Run
npm publish
to publish to npm - Update the apps who uses this deploy script