Include .pkg artifacts in the archive process and modified package.json to add support for pkg targets for both arm64 and x64 architectures, enhancing the build configuration.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-06-20 02:43:41 +01:00
parent 349431c310
commit 8adea62218
2 changed files with 19 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -78,7 +78,7 @@ def buildOnLabel(label, buildCommand) {
} }
stage("Archive Artifacts (${label})") { stage("Archive Artifacts (${label})") {
archiveArtifacts artifacts: 'app_dist/**/*.dmg, app_dist/**/*.exe', fingerprint: true archiveArtifacts artifacts: 'app_dist/**/*.dmg, app_dist/**/*.exe, app_dist/**/*.pkg', fingerprint: true
} }
} }
} }

View File

@ -148,11 +148,23 @@
"arm64" "arm64"
] ]
}, },
{
"target": "pkg",
"arch": [
"arm64"
]
},
{ {
"target": "dmg", "target": "dmg",
"arch": [ "arch": [
"x64" "x64"
] ]
},
{
"target": "pkg",
"arch": [
"x64"
]
} }
], ],
"mergeASARs": true, "mergeASARs": true,
@ -189,6 +201,12 @@
} }
] ]
}, },
"pkg": {
"installLocation": "/Applications",
"mustClose": [
"com.tombutcher.farmcontrol"
]
},
"win": { "win": {
"target": "nsis" "target": "nsis"
}, },