Skip to content

fix(release): publish AppImage zsync update metadata - #512

Merged
qxcnm merged 1 commit into
qxcnm:mainfrom
MorningFrog:codex/appimage-zsync-updates
Oct 26, 2026
Merged

qxcnm merged 1 commit into
qxcnm:mainfrom
MorningFrog:codex/appimage-zsync-updates

Conversation

@MorningFrog

Copy link
Copy Markdown
Contributor

The v0.6.8 release contains AppImages for both Linux architectures but no .AppImage.zsync files, and its AppImage runtime reports empty update information. Gear Lever/AppImageUpdate therefore cannot automatically discover updates. Both the Actions artifact paths and the GitHub Release asset filter also exclude zsync sidecars.

Embed an architecture-specific gh-releases-zsync locator for the current repository's latest stable release, install zsync, and regenerate the sidecars after the existing icon/permission repair step so their checksums match the final AppImages. Include sidecars in both artifact uploads and Release publication. Add a brief note to the English and Chinese build guides, including the one-time manual replacement needed for older AppImages.

Validation:

  • actionlint and git diff --check pass.
  • Built a small real x86_64 AppImage with linuxdeploy's AppImage plugin, forced the existing permission repair, and ran the new workflow step. Embedded update information survived the repair; zsync reconstruction verified the resulting checksum and matched the final image byte for byte. An incorrect embedded locator was rejected.
  • Locally simulated both Release creation and update with a mocked gh, confirming both architectures' .AppImage.zsync files are selected for upload.
  • Existing AppImage metadata/permission regression suite: all 20 cases pass.

No new test files or CI jobs are included. Full application release builds and native ARM64 packaging were not run locally.

@qxcnm

qxcnm commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

已审核 09c8e258,暂未发现阻塞问题。原先没有 checks 是 fork 工作流等待批准,本次已批准运行 CI。

本轮验证:workflow 的 actionlint 静态检查、git diff --check、现有 20 项 AppImage 图标/权限回归均通过;另在 Linux 环境独立验证真实 x86_64 AppImage 的更新信息嵌入、修复后保留、最终 zsync 重建字节一致性和错误架构地址拒绝;Release 创建/更新两条路径均正确选取两种架构的 sidecar,保留原有 portable ZIP。

本次 4 项 CI 已全部通过,已 squash 合并为 452eef5d;合并前也确认与侧栏修复后的最新主线无冲突。完整 Linux 应用 release 构建及原生 ARM64 打包未在本轮执行,仍需在后续发布流程验证。

@qxcnm
qxcnm merged commit 452eef5 into qxcnm:main Oct 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants