# Updating an Extension

> Ship new versions of your published extension.

- 网址：https://funcoding.ai/agents/zed/extensions/publishing/updating-and-maintenance/
- 来源：Zed 官方文档原文（英文），Apache-2.0 / GPL-3.0 许可，同步于 2026-10-11
- 官方原文：https://zed.dev/docs/extensions/publishing/updating-and-maintenance

---
To update an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).

> Update PRs are subject to the same [pull request rules](https://funcoding.ai/agents/zed/extensions/publishing/publishing-guide/#pull-request-rules) as new submissions.

In your PR, do the following:

1. Update the extension's submodule to the commit of the new version. For this, you can run

```sh
# From the root of the repository:
git submodule update --remote extensions/your-extension-name
```

to update your extension to the latest commit available in your remote repository.

2. Update the `version` field for the extension in `extensions.toml`.
   - Make sure the `version` matches the one set in `extension.toml` at the particular commit.

If you'd like to automate this process, there is a [community GitHub Action](https://github.com/huacnlee/zed-extension-action) you can use.

For questions around maintaining (or no longer maintaining) your extension, see the [FAQ](https://funcoding.ai/agents/zed/extensions/publishing/faq/).
