Releases are performed automatically with GitHub actions.
Note that protected tags are configured so you need to be either an admin or maintainer to push the tag.
git tag v<major>.<minor>.<patch>orgit tag v<major>.<minor>.<patch>-<prerelease>('v' required) where anything before the first.in<prerelease>will be become the npm dist-tag.git pushgit push --tag- Wait for the GitHub action to create a new draft GitHub release with the build attached. The publish to npm should happen around the same time from a different step.
- Update the release notes to the new draft GitHub release if needed.
- Publish the GitHub release.
git tag -a v1.2.3will result in1.2.3being published with thelatestnpm tag.git tag -a v1.2.3-betawill result in1.2.3-betabeing published with thebetanpm tag.git tag -a v1.2.3-beta.1will result in1.2.3-beta.1being published with thebetanpm tag.