执行发布
¥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
-
-
如有必要,请打开拉取请求以在
docs/user-guide/rules.md中标记这些规则。¥If necessary, open a pull request to mark those rules in
docs/user-guide/rules.md. -
检查 stylelint/stylelint-ecosystem-tester 中的包测试是否在新版本中失败。
¥Check if package tests in stylelint/stylelint-ecosystem-tester fail with the new version.
-
如有必要,请在本地测试主分支:
¥If necessary, test the main branch locally against:
-
发布 Stylelint:
¥Release Stylelint:
-
触发
release-pr工作流以创建发布 PR。¥Trigger the
release-prworkflow 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.
-
合并 PR 以启动
release工作流。¥Merge the PR to start the
releaseworkflow. -
批准待发布的作业以发布到 npm,并创建 GitHub 版本草稿。
¥Approve the pending release job to publish to npm and create a draft GitHub release.
-
确认将包发布到 www.npmjs.com/package/stylelint。
¥Confirm the publishing of the package to www.npmjs.com/package/stylelint.
-
审阅并发布 GitHub 版本草稿。
¥Review and publish the draft GitHub release.
-
-
如有必要,请使用相同的步骤发布
stylelint-config-*。¥If necessary, release
stylelint-config-*using the same steps. -
更新网站:
¥Update the website:
-
转到
stylelint.io存储库中的 发布操作页面。¥Go to the releasing action page in the
stylelint.iorepository. -
单击运行工作流程。
¥Click Run workflow.
-
检查并合并由操作创建的拉取请求。
¥Check and merge a pull request created by the action.
-
确认部署更新至 stylelint.io。
¥Confirm the deployment of the update to stylelint.io.
-
-
检查 stylelint.io/demo 是否安装了最新的 Stylelint 和配置版本。
¥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