Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 960 Bytes

release-guide.md

File metadata and controls

20 lines (17 loc) · 960 Bytes

Release Steps

Step 0 - Setup

  1. Create a new branch for the release: e.g. git checkout -b release/{X.X.X}
  2. Write/Generate changelog in CHANGELOG.md
  3. Commit all changes, push to remote
  4. Comment /bot create ticket on github PR to make release ticket automatically

Step 1 - Release Candidate

  1. Update the version in package.json: e.g. version: {version}-rc-0 (increase the number if it's necessary)
  2. Run npm run build under the root directory
  3. Run npm publish --tag rc
  4. Test the RC version in your project(s) e.g. CodeSandbox Sample
  5. If everything is fine, go to Step 2. Otherwise make changes to main branch, rebase and repeat Step 1

Step 2 - Actual release

  1. Commit all changes
  2. Update the version in package.json to the new real release version: Run npm version patch/minor/major
  3. Run npm run build
  4. Run npm publish -access=public