From cd50ddc827ac5ed773938593e604bb702665b330 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Thu, 6 Aug 2026 02:00:03 +0800 Subject: [PATCH] fix(xpkg): 0.0.49 and 0.0.50 existed only for linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Publishing them, I edited the `linux` block and stopped there. `macosx` and `windows` topped out at 0.0.48, so a mac or Windows consumer asking for 0.0.50 got the same "not found" a genuinely unpublished version produces — while the Linux job resolving it in the same run said everything was fine. That asymmetry is what made it hard to see: three CI jobs failed and three passed on one commit, which reads as a platform bug in the client rather than as an index missing two rows. The tarball is the same for all three — a GitHub source archive, no per-platform artifact — so the entries are identical apart from the platform key they sit under. Verified by parsing with lua5.4 and enumerating keys per platform: all three now end at 0.0.50. --- pkgs/x/xpkg.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pkgs/x/xpkg.lua b/pkgs/x/xpkg.lua index 988cc55..f44df2f 100644 --- a/pkgs/x/xpkg.lua +++ b/pkgs/x/xpkg.lua @@ -91,6 +91,20 @@ package = { }, }, macosx = { + ["0.0.50"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.50.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.50/xpkg-0.0.50.tar.gz", + }, + sha256 = "add16d5c36796b5550f55924dc5eae7a17dcb20a33fd07aa77cd95d0899b3e5e", + }, + ["0.0.49"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.49.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.49/xpkg-0.0.49.tar.gz", + }, + sha256 = "45f23d16aba01833cc38ad4a2a117ab2646d9c0edad5f4c9eafecc53a70457ff", + }, ["0.0.48"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.48.tar.gz", @@ -156,6 +170,20 @@ package = { }, }, windows = { + ["0.0.50"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.50.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.50/xpkg-0.0.50.tar.gz", + }, + sha256 = "add16d5c36796b5550f55924dc5eae7a17dcb20a33fd07aa77cd95d0899b3e5e", + }, + ["0.0.49"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.49.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.49/xpkg-0.0.49.tar.gz", + }, + sha256 = "45f23d16aba01833cc38ad4a2a117ab2646d9c0edad5f4c9eafecc53a70457ff", + }, ["0.0.48"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.48.tar.gz",