-
Notifications
You must be signed in to change notification settings - Fork 0
Git workflow and NPM publish
Michele Salvini edited this page Aug 2, 2019
·
2 revisions
- Create a feature branch from
develop
. - Commit changes to feature branch.
- Open a PR from feature branch to develop and ask for a review.
- Merge Changes into develop.
- Delete feature branch.
- Create a new release branch from develop.
- Run
$ npm version patch|minor
locally. - Commit changes to release branch.
- Add changes if needed, and commit to release branch.
- Open a PR from release branch to master and ask for a review.
- Merge Changes into master and tag with version name (es v1.0.0).
- Locally pull master and run
$ npm publish
. - Open a PR from release branch to develop and merge.
- Delete release branch.