Prompt file imported from microsoft/omnichannel-chat-sdk (
.github/prompts/release.prompt.md). Copyright stays with the author.
Create an official Omnichannel Chat SDK release.
Read docs/RELEASING.md before you make changes. That file is the canonical release procedure.
- Get the approved semantic version.
- Create a release branch from current
upstream/main. - Update
package.jsonandpackage-lock.jsonwithnpm version <version> --no-git-tag-version. - Move all
CHANGELOG.mdentries fromUnreleasedto the dated version section. - Keep a new empty
Unreleasedsection. - Update public API documentation and the README release table.
- Run the build, tests, lint, and
npm pack --dry-run. - Open a pull request and wait for all required checks and reviews.
- Do not create the release tag before the pull request merges.
- Get the pull-request merge commit.
- Create annotated tag
v<version>on that exact commit. - Push the tag to
microsoft/omnichannel-chat-sdk. - Do not use workflow dispatch and do not run
npm publishmanually. - Wait for the
npm Releaseworkflow. - Verify the exact npm version, npm provenance, GitHub Release notes, and attached
.tgzfile.
The tag workflow validates the tag, publishes one tarball to npm, and attaches that same tarball to the GitHub Release.