Execute npm run start-release -- [version]
to start the automatic release process. The steps executed are:
- Creating a
release/v[version]
branch usinggit flow release
. - Bumping its version to [version] release and commiting bumped version files.
- Publishing
release/v[version]
branch into repository. - Executes
npm run lint
andnpm run test
.
The release is published in case there is a need for any additional tests, version fixes or bug fixes. This can be added before it is actually released.
Execute git flow release finish v[version]
and npm run finish-release
to finish the release process. The steps executed are:
- Finishes, tags and deletes the
release/[version]
branch. - Pushes the new
[version]
tag into the repository. - Merges release into
develop
and pushes changes to repository. - Merges release into
master
and pushes changes to repository. - Returns to
develop
branch.
Execute npm run npm-publish
from develop branch to start the automatic publishing process. The steps executed are:
- Executes
npm run build
process. - Executes
bash scripts/npm-publish
process.