gutenbergdocs/docs/contributors/code/release/README.md
2025-10-22 01:40:18 +08:00

23 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Gutenberg 发布流程
GitHub 上的 [Gutenberg 代码库](https://github.com/WordPress/gutenberg) 用于执行多种类型的发布。本页概述了不同的发布流程,并为您提供每种类型对应的文档指引。
## 前置条件
在开始任何发布流程之前,需满足以下要求才能成功发布稳定版的 Gutenberg 插件:
- 成为 [Gutenberg 开发团队](https://developer.wordpress.org/block-editor/contributors/repository-management/#teams) 的成员。这将使您具备启动与发布流程相关的 GitHub 操作以及将拉取请求PR回溯到发布分支的权限。
- 拥有 [Make WordPress Core](https://make.wordpress.org/core) 博客的写权限。这将允许您起草发布文稿。
- 获得 Gutenberg 核心团队成员的批准,以便将新版本的 Gutenberg 上传至 WordPress.org 插件目录。
## 插件发布
插件发布涉及创建新版本的 Gutenberg 插件并将其发布到 WordPress.org 插件目录。此流程包括创建候选版本、测试以及最终发布。
有关如何执行插件发布的详细说明,请参阅 [Gutenberg 插件发布](https://developer.wordpress.org/block-editor/contributors/code/release/plugin-release/)。
## 软件包发布
软件包发布涉及将更新后的 WordPress 软件包版本发布到 npm。此流程包括与插件发布、WordPress 核心更新以及独立的错误修复发布同步。
有关软件包发布和 WordPress 核心更新的完整说明,请参阅 [发布软件包至 NPM 及 WordPress 核心更新](https://developer.wordpress.org/block-editor/contributors/code/release/package-release-and-core-updates/)。