Publish Linux package to GitHub Releases on v*.*.* tags - #2
Conversation
Extend the Linux workflow to create a GitHub Release with the MajdataViewAlpha-Linux archive and SHA256SUMS when a version tag is pushed, and document where to download the Linux package. Co-authored-by: oswaldovolkmanezwcl <oswaldovolkmanezwcl@hotmail.com>
Doctor previously only looked under MajdataEdit/tools/Maicaiyin, so the assembled package failed after extract. Reuse AutoOnsetRunner path resolution and verify the packaged CLI with MAJDATA_ROOT set to the release directory. Co-authored-by: oswaldovolkmanezwcl <oswaldovolkmanezwcl@hotmail.com>
The release-layout check was running before Maicaiyin assets were copied, so it looked under bin/tools instead of tools/. Co-authored-by: oswaldovolkmanezwcl <oswaldovolkmanezwcl@hotmail.com>
|
Cursor Agent can help with this pull request. Just |
|
@cursoragent review it |
|
审查已写在 PR #2 上。结论是 可以合,但下次发版前建议先改两点。 没问题的部分
建议先改
小问题
没有挡发布的功能问题。完整意见在 #2 。要的话我可以直接改那两个 should-fix。 |
ReviewOverall this is a solid, small PR: tag-triggered Linux releases, a real Verdict: approve, with two should-fix items before relying on this for every future tag. What works
Should fix
Nits
Process note
No blocking functional issues for the Linux tarball path. The two should-fix items are about not letting the next tag (or a workflow edit) accidentally clobber a release. |
|
@cursoragent 继续修复 |
|
审查里的两点已经改完,并推到当前分支。 权限: 默认 发版规则: 只响应 另外钉了 本地验证:stale 包被清掉, |
Keep PR and main builds at contents: read. Publish only on v*.*.* tags, mark hyphenated tags as prerelease, pin action-gh-release to v3.0.3, and wipe leftover archives in dist/linux before packing. Co-authored-by: oswaldovolkmanezwcl <oswaldovolkmanezwcl@hotmail.com>


推送
v*.*.*标签时,Linux CI 会构建MajdataViewAlpha-Linux-*.tar.gz并发布到 GitHub Releases。v0.4.2已发布:https://github.com/pashippercode/MajdataViewAlpha/releases/tag/v0.4.2改动
contents: read;只有 tag 触发的publish-releasejob 有contents: writev*改为v*.*.*;带-的标签(如v0.4.3-rc1)标为 prerelease,不替换 latestaction-gh-release钉到 v3.0.3 SHAlinux-release.sh打包前清空dist/linux,避免旧 tarball 被一起上传majdata doctor兼容发布包布局tools/Maicaiyin包内为 Avalonia 编辑器、majdata CLI、Maicaiyin 与 simai_parser。不含 Unity Linux 播放器与 Windows WPF / 桌宠启动器。