1. Create a new branch for the version bump:
git checkout -b release-X.Y.Z(Replace X.Y.Z with the version you want to publish)
2. Update the version:
yarn version X.Y.Z3. Push the branch:
git push -u origin release-X.Y.Z4. Create a PR to merge into master
5. After the PR is merged, checkout master and pull:
git checkout master
git pull6. Verify the version in package.json:
grep '"version"' package.jsonShould show "version": "X.Y.Z"
7. See what files will be included (dry-run):
yarn pack --dry-runCheck that:
cli.jsis included ✓lib/directory is included ✓README.mdis included ✓coverage/,report/, andtest/are excluded ✓
8. Dry-run the publish:
npm publish --dry-runVerify the package name, version, and file list look correct.
9. Create and push the git tag:
git tag vX.Y.Z
git push --tags10. Publish to npm:
npm publish11. Verify the publish succeeded:
npm view @patternfly/patternfly-a11yAlso check https://www.npmjs.com/package/@patternfly/patternfly-a11y