Skip to content

Commit

Permalink
Fix file extension for windows releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnau478 committed Jul 4, 2024
1 parent 8743630 commit 7f9b8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub fn build(b: *std.Build) !void {
const release_step = b.step("release", "Create release builds for all targets");
for (release_targets) |rt| {
const rexe = addExe(b, b.resolveTargetQuery(rt), .ReleaseSmall, true, build_options, mod);
release_step.dependOn(&b.addInstallArtifact(rexe, .{ .dest_sub_path = try std.fs.path.join(b.allocator, &.{ "release", rexe.name }) }).step);
release_step.dependOn(&b.addInstallArtifact(rexe, .{ .dest_sub_path = try std.fs.path.join(b.allocator, &.{ "release", rexe.out_filename }) }).step);
}

const run_cmd = b.addRunArtifact(exe);
Expand Down

0 comments on commit 7f9b8b0

Please sign in to comment.