mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Fix work build path used in mac crafter packaging stage
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
57b1e12c16
commit
5d21a294ad
1 changed files with 2 additions and 3 deletions
|
@ -193,7 +193,6 @@ struct Build: ParsableCommand {
|
||||||
|
|
||||||
let allOptionsString = craftOptions.map({ "--options \"\($0)\"" }).joined(separator: " ")
|
let allOptionsString = craftOptions.map({ "--options \"\($0)\"" }).joined(separator: " ")
|
||||||
|
|
||||||
let buildWorkPath = "\(buildPath)/\(craftTarget)/build"
|
|
||||||
let clientBuildDir = "\(buildPath)/\(craftTarget)/build/\(craftBlueprintName)"
|
let clientBuildDir = "\(buildPath)/\(craftTarget)/build/\(craftBlueprintName)"
|
||||||
if fullRebuild {
|
if fullRebuild {
|
||||||
do {
|
do {
|
||||||
|
@ -230,8 +229,8 @@ struct Build: ParsableCommand {
|
||||||
|
|
||||||
if package {
|
if package {
|
||||||
print("Creating pkg file for client…")
|
print("Creating pkg file for client…")
|
||||||
let packagePath =
|
let buildWorkPath = "\(clientBuildDir)/work/build"
|
||||||
try buildPackage(
|
let packagePath = try buildPackage(
|
||||||
appName: appName,
|
appName: appName,
|
||||||
buildWorkPath: buildWorkPath,
|
buildWorkPath: buildWorkPath,
|
||||||
productPath: productPath
|
productPath: productPath
|
||||||
|
|
Loading…
Reference in a new issue