發佈 Weblate

發佈週期

Weblate 的發行與支援生命週期記載於 發佈週期

發佈計劃

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

發佈過程

發佈前要檢查的事情:

  1. 透過 ./scripts/list-translated-languages.py 來檢查新翻譯的語言。

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

  3. 確保螢幕擷圖是最新的 make -j 12 -C docs update-screenshots

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

在本機建立發行套件時,請從乾淨的簽出內容開始,或移除已忽略的封裝產物,例如 build/dist/weblate.egg-info/,以及產生的 weblate/locale/**/*.mo 檔案。

執行發佈:

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

張貼發佈手動步驟:

  1. 管理 GitHub 里程碑。

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

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

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

  5. 使用 ./scripts/rtd-projects.py 檢查 readthedocs.org 是否已建置說明文件的所有翻譯。

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

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