- Make sure the
build.conf.js
points to the correct versions. ng serve --prod
works fine.npm run build:lib
works fine.- Must have admin permissions to this repo.
- Must have an npm account and permissions to publish to covalent. Can check login with
npm login
.
Execute npm run release:start -- [version]
to start the automatic release process. The steps executed are:
- Checks out the
master
branch and pulls the latest. - Checks out the
develop
branch. - Executes a typescript linting test.
- Executes a sass linting test.
- Executes unit tests.
- Executes a build release test.
- Bumps its version to [version] release
- Executes
npm run generate:changelog
to generate a draft of the changelog with the commits that happened between the last tagged release and the last commit. NOTE: It need to be double checked and modified as needed.
Execute npm run release:finish -- [version]
to finish the release process. The steps executed are:
- Adds and commits all changes (changelog changes, bump, etc etc).
- Creates new
[version]
tag - Pushes commit and new tag into the repository (
develop
). - Rebases
master
withdevelop
and pushes changes to repository. - Returns to
develop
branch.
Execute npm run publish:npm
from develop branch to start the automatic publishing process. The steps executed are:
- Executes
npm run build:lib
process. - Executes
bash scripts/npm-publish
process.
Execute npm run publish:npm -- next
to publish a beta/RC Release.
- Deploy to ghpages using
npm run ghpages:deploy
. - Edit the tag with the version and put the changelog as the description.
- Update
stackblitz
if needed. - Update UPGRADE.md as necessary.
- Throw party~