TauriTavern/distribution
2026-08-07 00:55:20 -04:00
..
apt-rpm refactor(distribution): organize Linux repository publishers 2026-07-27 05:52:27 +08:00
flatpak fix(flatpak): restore OSTree ref layout during publish 2026-07-30 14:29:46 +08:00
nix-cache refactor(distribution): organize Linux repository publishers 2026-07-27 05:52:27 +08:00
README.md feat(release): add WinGet publishing 2026-08-07 00:55:20 -04:00

Distribution

本目录保存已经构建完成的软件包如何进入公开软件源的发布工具。构建配方位于 packaging/,GitHub Actions 的编排仍位于 .github/workflows/,生成产物不进入 本目录。

  • apt-rpm/publish.sh:汇入 DEB/RPM,生成并签署 Stable 或 Canary 软件源元数据, 再按安全顺序发布到 R2。
  • apt-rpm/rewrite-deb-version.sh:为 Canary DEB 写入符合 Debian 排序规则的版本。
  • flatpak/publish.sh:在现有 OSTree 仓库上导出、签署并按安全顺序发布 Stable Flatpak。
  • nix-cache/publish.sh:校验 Nix cache key,签署 store closure 并发布缓存对象。

WinGet 的 canonical manifest 位于外部 microsoft/winget-pkgs 仓库,因此本目录不 保存它的副本;Stable Release 通过 .github/workflows/winget-release.yml 生成并 提交版本更新。详细契约见 docs/CurrentState/WindowsDistribution.md。

这些工具由 CI 调用,并在执行前校验所需环境变量和外部命令。用户安装入口仍为 scripts/install-linux.sh。