Performing releases
- Create a new issue to announce the planned release:
- include the template checklist
- if applicable, list any new rules so that we can discuss including them in our configs
- If necessary, open a pull request to mark those rules in
docs/user-guide/rules.md
. - Check if package tests in stylelint/stylelint-ecosystem-tester fail with the new version.
- If necessary, test the main branch locally against:
- Release Stylelint:
- Trigger the
release-pr
workflow to create a release PR. - Add a summary to the changelog about what's changed, including if there's a new standard config.
- If necessary, reorder the changelog entries so that the widest-reaching changes come first.
- Merge the PR to start the
release
workflow. - Approve the pending release job to publish to npm and create a draft GitHub release.
- Confirm the publishing of the package to www.npmjs.com/package/stylelint.
- Review and publish the draft GitHub release.
- Trigger the
- If necessary, release
stylelint-config-*
using the same steps. - Update the website:
- Go to the releasing action page in the
stylelint.io
repository. - Click Run workflow.
- Check and merge a pull request created by the action.
- Confirm the deployment of the update to stylelint.io.
- Go to the releasing action page in the
- Check that stylelint.io/demo installs the latest Stylelint and config versions.
New release issue template
- [ ] stylelint-ecosystem-tester check
- [ ] stylelint release
- [ ] stylelint-config-recommended update/release
- [ ] stylelint-config-standard update/release
- [ ] stylelint.io update
- [ ] stylelint-demo check