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 tslint
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 start the automatic publishing 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. - Executes
npm run build
process from master. - Executes
npm run publish
process from master. - Returns to
develop
branch.