]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Add logging to packaging procedures in mac-crafter
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Thu, 19 Sep 2024 13:06:23 +0000 (21:06 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 23 Sep 2024 08:30:10 +0000 (16:30 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
admin/osx/mac-crafter/Sources/main.swift

index 0c9e1ca2707ac11b3cbb286f0e4d2278ea143a2b..d28b12bc7b1b72371e756f7329f4458aab1abf2c 100644 (file)
@@ -229,13 +229,16 @@ struct Build: ParsableCommand {
         try fm.copyItem(atPath: clientAppDir, toPath: "\(productPath)/\(appName).app")
 
         if package {
+            print("Creating pkg file for client…")
             let packagePath =
                 try buildPackage(buildWorkPath: buildWorkPath, productPath: productPath)
 
             if let packageSigningId {
+                print("Signing pkg with \(packageSigningId)…")
                 try signPackage(packagePath: packagePath, packageSigningId: packageSigningId)
 
                 if let appleId, let applePassword, let appleTeamId {
+                    print("Notarising pkg with Apple ID \(appleId)…")
                     try notarisePackage(
                         packagePath: packagePath,
                         appleId: appleId,
@@ -245,10 +248,12 @@ struct Build: ParsableCommand {
                 }
             }
 
+            print("Creating Sparkle TBZ file…")
             let sparklePackagePath =
                 try buildSparklePackage(packagePath: packagePath, buildPath: buildPath)
 
             if let sparklePackageSignKey {
+                print("Signing Sparkle TBZ file…")
                 try signSparklePackage(
                     sparkleTbzPath: sparklePackagePath,
                     buildPath: buildPath,