块编辑器开发文档

Gutenberg 发布流程

💡 云策文档标注

概述

本文档概述了 Gutenberg 在 GitHub 仓库中的多种发布类型,包括插件发布和包发布,并引导开发者查阅相关详细文档。

关键要点

  • 发布前需满足前提条件:必须是 Gutenberg 开发团队成员、拥有 Make WordPress Core 博客的写权限,并获得 Gutenberg Core 团队批准以上传新版本。
  • 插件发布涉及创建和发布 Gutenberg 插件新版本到 WordPress.org 插件目录,包括候选版本、测试和最终发布。
  • 包发布涉及将 WordPress 包更新版本发布到 npm,包括与插件发布、WordPress 核心更新和独立错误修复的同步。

📄 原文内容

The Gutenberg repository on GitHub is used to perform several types of releases. This page provides an overview of the different release processes and guides you to the appropriate documentation for each type.

Prerequisites

Before you begin any release process, there are some requirements that must be met in order to successfully release a stable version of the Gutenberg plugin. You will need to:

  • Be a member of the Gutenberg development team. This gives you the ability to launch the GitHub actions that are related to the release process and to backport pull requests (PRs) to the release branch.
  • Have write permissions on the Make WordPress Core blog. This allows you to draft the release post.
  • Obtain approval from a member of the Gutenberg Core team in order to upload the new version Gutenberg to the WordPress.org plugin directory.

Plugin Releases

Plugin releases involve creating and publishing new versions of the Gutenberg plugin to the WordPress.org plugin directory. This process includes creating release candidates, testing, and final publication.

For detailed instructions on how to perform plugin releases, see the Gutenberg plugin releases.

Publication of Packages

Package publication involves releasing updated versions of WordPress packages to npm. This process includes synchronizing with plugin releases, WordPress core updates, and standalone bugfix releases.

For comprehensive instructions on package releases and WordPress Core updates, see the Packages releases to NPM and WordPress Core updates.