From 41efee10ce7878ef36fb3626e5bddc73bbcc9602 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 15 Jan 2025 15:03:07 +0100 Subject: [PATCH] GoCmdBridge: Adapt qbs build Follows 08870178bb2bb6a33c6fdba2bc30bf9128db37b3. Change-Id: Ieeca1fd8c8aeed6b9255f901bc51867d23ebaae6 Reviewed-by: Christian Kandeler --- qbs/modules/go/go.qbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qbs/modules/go/go.qbs b/qbs/modules/go/go.qbs index 63c792519c3..ad0d397e890 100644 --- a/qbs/modules/go/go.qbs +++ b/qbs/modules/go/go.qbs @@ -43,8 +43,11 @@ Module { var arch = product.go.architectures[i]; for (var j = 0; j < product.go.platforms.length; ++j) { var plat = product.go.platforms[j]; + var targetName = product.targetName + '-' + plat + '-' + arch; + if (plat == "windows") + targetName = targetName.concat(".exe"); var artifact = { - filePath: product.targetName + '-' + plat + '-' + arch, + filePath: targetName, fileTags: [ "application", plat, arch ] }; result.push(artifact);