发布 Weblate
发布日程
Weblate 有两个月的发布周期,版本(x.y)。
主要版本的更改指示了升级过程不能跳过这个版本——在升级到更高版本的版本 x.y 之前总是必须升级到版本 x.0。
参见
发布计划
即将发布版本的功能是通过 GitHub 里程碑收集的,可以在 <https://github.com/WeblateOrg/weblate/milestones> 上查看路线图。
发布过程
发布前要检查的事情:
由 ./scripts/list-translated-languages 来检查新翻译的语言。
由 ./scripts/prepare-release 来设置最终版本。
确保截图是最新的 make -C docs update-screenshots。
Merge any possibly pending translations wlc push; git remote update; git merge origin/weblate
执行发布:
创建一个发布 ./scripts/create-release --tag (要求请参见下面)。
手动发布步骤:
更新 Docker 镜像。
关闭 GitHub 里程碑。
一旦检测到 Docker 镜像,则添加标签并推送。
将 Helm 图表更新到新的版本。
在
.github/workflows/migrations.yml
中包含新的版本,从而在合并监测中覆盖它。Increase version in the website download links.
由 ./scripts/set-version 在仓库中增加版本。
要使用 ./scripts/create-release 脚本创建标签,需要:
带有私钥的 GnuPG,用于为发行版签名
推送访问 Weblate git 仓库(它推送标签)
配置的 hub 工具和访问,在 Weblate repo 上创建发布版本
SSH 访问 Weblate 下载服务器(网站下载内容被复制到的地方)