This guide describes how to create and deploy a new release of the project.
Create a branch for the new release. The branch name should follow the release/X.Y.Z format, where X.Y.Z represents the release version.
git checkout -b release/X.Y.ZRecord the changes for this release in the CHANGELOG_DRAFT.md file.
Commit the changes you've made and push the branch to the remote repository.
git add .
git commit -m "chore: update changelog draft"
git push origin release/X.Y.ZCreate a Pull Request for the newly pushed branch. The PR should be requested to the main branch.
And add a /bot create ticket comment to create a ticket in the project management tool.
Execute the publish-package workflow in GitHub Actions. This workflow is defined in the .github/workflows/publish-package.yml file.
- workflow uses
lernato update thechangelog.mdfile based on the commit history and creates a GitHub release. - The workflow also publishes the package to NPM.
- If all the steps are completed successfully, the PR is approved by the bot.