feat(release): publish portable archives and checksums #600
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/600"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by jem2981 on 2026-10-05T02:06:29Z.
What
Publish self-contained portable release archives for Windows and Linux while preserving the existing split relinker and PRX assets.
BUILD-MANIFEST.json.SHA256SUMS.txtfor every published release asset.Tested
Windows x64 with GCC 15.2.0:
mainrevision.libstarget.package_release.git diff --check.The GitHub release matrix will exercise the native Linux archive and repeat the Windows archive smoke test.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-05T02:47:27Z.
Thanks, a single archive per platform with a manifest and checksums is a nice improvement for anyone downloading a release.
I went through the workflow and the script. The portable layout matches what USAGE.md describes (the converted executable in the archive root finds
libs/through the default$ORIGIN/libs), the oldprx-*andrelinker-*assets stay as they are so existing links keep working,SHA256SUMS.txtis written after the documentation is collected so it covers every uploaded file and skips itself, and the permissions are unchanged. The relinker smoke test is right too: with no arguments it prints the usage line and returns 1.tools/tests/test_package_release.pypasses here.One suggestion, since the release workflow only runs on a
v*tag and can't be exercised from a PR: if you can push a test tag to your fork once, that would run both matrix jobs (including the Linux archive you couldn't build locally) before the next real release depends on it. A link to that run here would be enough.The CI run for this PR needs workflow approval. Once it's green, it's ready to merge from my side.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-05T02:55:45Z.
@boykopovar this one is yours to decide, since it changes what each release publishes: a portable
anyps5-<platform>-<tag>archive per platform with a build manifest, plus aSHA256SUMS.txtover all release files (the existingprx-*archives and relinker binaries stay). The code looks right to me and CI is approved; the release workflow changes only run on a tag, so a test tag on a fork first would be the way to check them end to end. I'm leaving the merge to you.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T15:48:58Z.
Review: CHANGES_REQUESTED
Thanks for this. The PR now conflicts with
mainintools/package_release.py(the list of expected PRX libraries changed upstream after "refactor(libs): drop replacements of modules that titles ship themselves"). Please:mainand resolveexpected_libraries()against the new library set; rerunpackage_releasein ctest afterwards.SHA256SUMS.txt, newanyps5-*assets) only run on a tag, so CI here doesn't exercise them. A run on a test tag in your fork, linked in the PR, would show them working end to end.As @oneandonlydean said, what each release publishes is @boykopovar's decision; it stays with him once the rebase is done.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T20:07:49Z.
Closing: the conflict in
tools/package_release.pyand the test-tag run from 10-07 are still open. If you decide to continue, please reopen.Pull request closed