The primary goals are:
- Publishing the updated package to npm.
- Creating a GitHub release with notes.
The secondary goals are:
- Ensuring the stylelint org's
stylelint-config-*
shareable configs are compatible with the release. - Updating the online demo at https://stylelint.io/demo to use the release.
- Updating the documentation at https://stylelint.io to use the release.
- Sending out a tweet.
- Create a new issue announcing the planned release, e.g.
Release 8.11.1
and include the template checklist. - Locally test
master
in thestylelint-config-*
shareable configs repos. - Locally test
master
in thestylelint.io
repo. - Locally test
master
in thestylelint-demo
repo. - Both the publishing of the package to npm and the creating a github release are done with
npmpub
:- Ensure the CHANGELOG is consistently formatted.
- Run
npm --no-git-tag-version version major|minor|patch
to increment theversion
number inpackage.json
andpackage-lock.json
, according to whether it's a patch, minor or major release. - Replace
# Head
inCHANGELOG.md
with this new version number e.g.# 8.1.2
- Commit and push up these changes.
- Go to https://github.com/stylelint/stylelint and confirm these changes are correct and pushed up.
- Run
npm run dry-release
. - Run
npm run release
. - Go to https://www.npmjs.com/package/stylelint and confirm the package was published correctly.
- Go to https://github.com/stylelint/stylelint/releases and confirm the release was created correctly.
- If a new version of any
stylelint-config-*
is required, repeat step 3 for that repo. - Update the online demo by changing to the
stylelint-demo
repo:- Run
npm install -S stylelint@latest
- Run
npm test
- Commit and push up these changes.
- Go to https://stylelint.io/demo and confirm the update was automatically deployed.
- Run
- Update the website documentation by changing the to
stylelint.io
repo:- Run
npm install -D stylelint@latest
- Run
npm test
- Commit and push up these changes.
- Run
npm run deploy
. - Go to https://stylelint.io and confirm the update was deployed correctly.
- Run
- Compose a tweet that announces the release, communicates what has changed and links to the appropriate heading in the CHANGELOG on https://stylelint.io.
- [ ] stylelint release
- [ ] stylelint-config-recommended update/release
- [ ] stylelint-config-standard update/release
- [ ] stylelint-demo update
- [ ] stylelint.io update
- [ ] tweet
cc @stylelint/core