GoCmdBridge: Adapt qbs build

Follows 08870178bb.

Change-Id: Ieeca1fd8c8aeed6b9255f901bc51867d23ebaae6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2025-01-15 15:03:07 +01:00
parent 4de25abef1
commit 41efee10ce

View File

@@ -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);