You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/maintainer-guide/releases.md
+8-6
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,32 @@
2
2
3
3
1. Create a [new issue](https://github.com/stylelint/stylelint/issues/new?title=Release+%7Bversion%7D&labels=status%3A+needs+discussion) to announce the planned release:
4
4
- include the [template checklist](#new-release-issue-template)
5
-
2. If necessary, test `main` locally in the:
5
+
- if applicable, list any new rules so that we can discuss including them in our configs
6
+
2. If necessary, open a pull request to mark those rules in [`docs/user-guide/rules.md`](../user-guide/rules.md).
1. If necessary, reorder the changelog entries in the "Prepare release" pull request so that the widest-reaching changes come first.
11
13
2. Merge the "Prepare release" pull request.
12
14
3. Open a terminal window in the `stylelint` repository.
13
15
4. Run `npm run release`.
14
16
5. Select the version from the [`np`](https://github.com/sindresorhus/np) prompt that matches the one in the changelog.
15
17
6. Confirm the publishing of the package to [www.npmjs.com/package/stylelint](https://www.npmjs.com/package/stylelint).
16
18
7. Confirm the creation of the release at [github.com/stylelint/stylelint/releases](https://github.com/stylelint/stylelint/releases).
17
-
4. If necessary, release `stylelint-config-*`:
19
+
5. If necessary, release `stylelint-config-*`:
18
20
1. Change to the `stylelint-config-*` repository.
19
21
2. Repeat steps 5 to 8 above for that repository.
20
-
5. Update the website:
22
+
6. Update the website:
21
23
1. Change to the `stylelint.io` repository.
22
24
2. Run `npm install https://github.com/stylelint/stylelint/tarball/${new_version} --save-dev` (replacing `${new_version}` with the version number e.g. `14.13.2`).
23
25
3. Run `npm test`.
24
26
4. Commit these changes.
25
27
5. Push these changes.
26
28
6. Confirm the deployment of the update to [stylelint.io](https://stylelint.io).
27
-
6. Check that [stylelint.io/demo](https://stylelint.io/demo) installs the latest Stylelint and config versions.
28
-
7. Compose a tweet that:
29
+
7. Check that [stylelint.io/demo](https://stylelint.io/demo) installs the latest Stylelint and config versions.
30
+
8. Compose a tweet that:
29
31
- announces the release
30
32
- communicates what has changed
31
33
- links to the appropriate heading in the changelog on [stylelint.io](https://stylelint.io)
0 commit comments