From 00bcdc790cc237dd67ed7d6534f2b839f689f366 Mon Sep 17 00:00:00 2001 From: Xiao Deshi Date: Fri, 5 Jun 2026 23:33:32 +0800 Subject: [PATCH] fix(build): remove duplicate bin/ prefix in sandbox-cli output path getInstallPath(.bin, ...) already prepends bin/ to the path, so the fmt string "bin/k8e-sandbox-cli-..." produced zig-out/bin/bin/..., causing the release upload step to find no files at the expected zig-out/bin/... path. --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index ce3efdc34..74de893c8 100644 --- a/build.zig +++ b/build.zig @@ -402,7 +402,7 @@ fn addSandboxCLIBuild(b: *std.Build, all_step: *std.Build.Step, v: VersionInfo) ); for (cli_targets) |t| { - const out_name = b.fmt("bin/k8e-sandbox-cli-{s}-{s}{s}", .{ t.goos, t.goarch, t.ext }); + const out_name = b.fmt("k8e-sandbox-cli-{s}-{s}{s}", .{ t.goos, t.goarch, t.ext }); const out_path = b.getInstallPath(.bin, out_name); const go_build = b.addSystemCommand(&[_][]const u8{