Updates Nacos download page and release history from a GitHub release URL. Fetches version and MD5 from the release, updates nacos-server.mdx (stable/snapshot), migrates previous stable row to release-history.mdx, updates the top tip with release summary, and syncs all changes to other locales (e.g. en). Use when the user provides a GitHub release link to update the download page or when asked to update Nacos download/release history from a release.
Update src/content/download/{i18n}/nacos-server.mdx and src/content/download/{i18n}/release-history.mdx from a GitHub release URL. Locales: zh-cn (source), en (and any others under src/content/download/).
https://github.com/alibaba/nacos/releases/tag/3.1.2).3.1.2).published_at (API) or page, format YYYY-MM-DD.nacos-server-{version}.zip.nacos-server-{version}.zip.md5 or similar). Download or fetch its content; the file content is the MD5 string (strip whitespace/newline).If no .md5 file exists in assets, leave MD5 blank or note in the table that it’s missing (follow existing pattern in the repo).
3.x and is not a pre-release (no ALPHA/BETA/RC in the tag/title) → update 3.x stable table in nacos-server.mdx.2.x and is not a pre-release → update 2.x stable table in nacos-server.mdx.nacos-server.mdx.Stable download links use https://download.nacos.io/nacos-server/nacos-server-{version}.zip. Snapshot versions often use https://github.com/alibaba/nacos/releases/download/{tag}/nacos-server-{version}.zip (tag may include suffix, e.g. 3.1.0-BETA).
[nacos/nacos-server\:v{version}](https://hub.docker.com/r/nacos/nacos-server/tags?page=1&name={version}).[发布说明](https://github.com/alibaba/nacos/releases/tag/{tag}) (zh-cn) / [Release Notes](...) (en). Use the tag from the URL (e.g. 3.1.0-BETA).nacos/nacos-server:latest.nacos-server.mdx (the row that was there before your update) into release-history.mdx.
[X.Y.Z](https://download.nacos.io/nacos-server/nacos-server-X.Y.Z.zip).Summarize the GitHub release notes in 1–2 short sentences (Chinese for zh-cn, English for en).
Replace the :::tip content with (zh-cn):
Nacos Server **{new_version}** 已发布。{新版本主要总结}。
欢迎[下载和试用](#稳定版本)。
For snapshot-only updates, use #快照版本 instead of #稳定版本; if both apply, use “稳定版本” or “快照版本” as appropriate.
En locale equivalent:
Nacos Server **{new_version}** has been released. {Short summary in English}.
Feel free to [download and try it out](#stable-versions).
Use #snapshot-versions when the release is snapshot-only.
zh-cn for structure and wording in Chinese.src/content/download/ (e.g. en) gets the same table and link updates; only the tip and intro texts are translated.