|
4 | 4 | - include the [template checklist](#new-release-issue-template)
|
5 | 5 | - if applicable, list any new rules so that we can discuss including them in our configs
|
6 | 6 | 2. If necessary, open a pull request to mark those rules in [`docs/user-guide/rules.md`](../user-guide/rules.md).
|
7 |
| -3. If necessary, test `main` locally in the: |
8 |
| - 1. [`stylelint/stylelint-config-recommended`](https://github.com/stylelint/stylelint-config-recommended) |
9 |
| - 2. [`stylelint/stylelint-config-standard`](https://github.com/stylelint/stylelint-config-standard) |
10 |
| - 3. [`stylelint/stylelint.io`](https://github.com/stylelint/stylelint.io) |
11 |
| -4. Release Stylelint: |
| 7 | +3. Check if package tests in [stylelint/stylelint-ecosystem-tester](https://github.com/stylelint/stylelint-ecosystem-tester) fail with the new version. |
| 8 | +4. If necessary, test the main branch locally against: |
| 9 | + 1. [stylelint/stylelint-config-recommended](https://github.com/stylelint/stylelint-config-recommended) |
| 10 | + 2. [stylelint/stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) |
| 11 | + 3. [stylelint/stylelint.io](https://github.com/stylelint/stylelint.io) |
| 12 | +5. Release Stylelint: |
12 | 13 | 1. If necessary, reorder the changelog entries in the "Prepare x.y.z" pull request so that the widest-reaching changes come first.
|
13 | 14 | 2. Merge the "Prepare x.y.z" pull request.
|
14 | 15 | 3. Open a terminal window in the `stylelint` repository.
|
15 | 16 | 4. Run `npm run release`.
|
16 | 17 | 5. Select the version from the [`np`](https://github.com/sindresorhus/np) prompt that matches the one in the changelog.
|
17 | 18 | 6. Confirm the publishing of the package to [www.npmjs.com/package/stylelint](https://www.npmjs.com/package/stylelint).
|
18 |
| - 7. Confirm the creation of the release at [github.com/stylelint/stylelint/releases](https://github.com/stylelint/stylelint/releases). |
19 |
| -5. If necessary, release `stylelint-config-*`: |
| 19 | + 7. Confirm the creation of the release at [stylelint/stylelint/releases](https://github.com/stylelint/stylelint/releases). |
| 20 | +6. If necessary, release `stylelint-config-*`: |
20 | 21 | 1. Change to the `stylelint-config-*` repository.
|
21 | 22 | 2. Repeat steps 5 to 8 above for that repository.
|
22 |
| -6. Update the website: |
| 23 | +7. Update the website: |
23 | 24 | 1. Go to the [releasing action page](https://github.com/stylelint/stylelint.io/actions/workflows/release-stylelint.yml) in the `stylelint.io` repository.
|
24 | 25 | 2. Click **Run workflow**.
|
25 | 26 | 3. Check and merge a pull request created by the action.
|
26 | 27 | 4. Confirm the deployment of the update to [stylelint.io](https://stylelint.io).
|
27 |
| -7. Check that [stylelint.io/demo](https://stylelint.io/demo) installs the latest Stylelint and config versions. |
28 |
| -8. Compose a tweet that: |
| 28 | +8. Check that [stylelint.io/demo](https://stylelint.io/demo) installs the latest Stylelint and config versions. |
| 29 | +9. Compose a tweet that: |
29 | 30 | - announces the release
|
30 | 31 | - communicates what has changed
|
31 | 32 | - links to the appropriate heading in the changelog on [stylelint.io](https://stylelint.io)
|
32 | 33 |
|
33 | 34 | ## New release issue template
|
34 | 35 |
|
35 | 36 | ```markdown
|
| 37 | +- [ ] stylelint-ecosystem-tester check |
36 | 38 | - [ ] stylelint release
|
37 | 39 | - [ ] stylelint-config-recommended update/release
|
38 | 40 | - [ ] stylelint-config-standard update/release
|
|
0 commit comments