Skip to content

Commit 6158889

Browse files
authored
chore(just): add .exe extension to windows binaries (#3769)
Signed-off-by: Zahari Dichev <zaharidichev@gmail.com>
1 parent 912bacb commit 6158889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ _target := if os + '-' + arch == "linux-amd64" {
5050
_cargo := 'just-cargo profile=' + profile + ' target=' + _target + ' toolchain=' + toolchain
5151

5252
_target_dir := "target" / _target / profile
53-
_target_bin := _target_dir / "linkerd2-proxy"
54-
_package_name := "linkerd2-proxy-" + package_version + "-" + arch + (if libc == 'musl' { '-static' } else { '' }) + (if os == 'windows' { '.exe' } else { '' })
53+
_target_bin := _target_dir / "linkerd2-proxy" + if os == 'windows' { '.exe' } else { '' }
54+
_package_name := "linkerd2-proxy-" + package_version + "-" + os + "-" + arch + if libc == 'musl' { '-static' } else { '' }
5555
_package_dir := "target/package" / _package_name
5656
shasum := "shasum -a 256"
5757

0 commit comments

Comments
 (0)