發佈 Weblate

Release cycle

Weblate has two month release cycle for releases (x.y). These are usually followed by a bunch of bugfix releases to fix issues which slip into them (x.y.z). This includes bug fixes and addressing security issues.

主要版本的更改指示了升級過程不能跳過這個版本——在升級到更高版本的版本 x.y 之前總是必須升級到版本 x.0。

The Docker container includes additional digit in versioning to track changes in the container itself like dependencies. These updates may include security updates.

發佈計劃

到來的版本的特性使用 Github 里程碑來收集,可以在 <https://github.com/WeblateOrg/weblate/milestones> 看到路線圖。

發佈過程

發佈前要檢查的事情:

  1. Check newly translated languages by ./scripts/list-translated-languages.py.

  2. ./scripts/prepare-release 來設定最終版本。

  3. Make sure screenshots are up to date make -j 12 -C docs update-screenshots.

  4. 合併任何可能掛起的翻譯 wlc push; git remote update; git merge origin/weblate

執行發佈:

  1. 建立一個發佈 ./scripts/create-release --tag (要求請參見下面)。

張貼發佈手動步驟:

  1. 管理 GitHub 里程碑。

  2. 一旦檢測到 Docker 圖像,則新增標籤並推送。

  3. .github/workflows/migrations.yml 中包含新的版本,從而在合併監測中覆蓋它。

  4. ./scripts/set-version.py 在倉儲中增加版本。

  5. Check that readthedocs.org did build all translations of the documentation using ./scripts/rtd-projects.py.

要使用 ./scripts/create-release 腳本來建立標記的話,需要後面的:

  • 推送存取 Weblate git 倉儲(它推送標記)