This pr adds a custom automation workflow to draft a release. The release process of this repository involves the following steps.
Phase1: Run release.yml
Bump the version in package.json & package-lock.json on master branch.
Build: Once the code is pushed to master branch, build.yml will be triggered automatically to ensure the dist/index.js is up to date.
Create a new branch from master branch for every major version or update the corresponding release branch for every minor version by fast-forwarding release branch to master branch.
Update the tag of the corresponding major version to point to the ref of the current release. Example, for releasing v1.0.1, update the v1 tag to point to the ref of the current release.
Description
This pr adds a custom automation workflow to draft a release. The release process of this repository involves the following steps.
Phase1: Run
release.yml
package.json
&package-lock.json
on master branch.build.yml
will be triggered automatically to ensure thedist/index.js
is up to date.custom_release_config.yml
according to automatically-generated-release-notes.Phase2: Run
update-main-version.yml
Update the tag of the corresponding major version to point to the ref of the current release. Example, for releasing v1.0.1, update the v1 tag to point to the ref of the current release.