From 4a528ad9d15a1d93a3ec9e405a91dcf9a9347059 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 18 Dec 2023 09:22:08 +0100 Subject: [PATCH] fix #5: add exe extension to built windows binaries --- mkrel.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkrel.sh b/mkrel.sh index d246fce..b47c180 100755 --- a/mkrel.sh +++ b/mkrel.sh @@ -40,6 +40,11 @@ for D in $DIST; do os=${D/\/*/} arch=${D/*\//} binfile="releases/${tool}-${os}-${arch}-${version}" + + if test "$os" = "windows"; then + binfile="${binfile}.exe" + fi + tardir="${tool}-${os}-${arch}-${version}" tarfile="releases/${tool}-${os}-${arch}-${version}.tar.gz" set -x