]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.release.sign: revert the smaller upload, just submit dmg
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 21 Jan 2023 21:24:38 +0000 (13:24 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 21 Jan 2023 21:24:38 +0000 (13:24 -0800)
extra/mason/release/sign/sign.factor

index c658b720681e23db39d15682e92a0e12430b9a49..fdc38ebe900b6011135ce468e798f77fc408d570 100644 (file)
@@ -34,10 +34,7 @@ M: macosx sign-factor-app
         "Factor.app/"
         "libfactor.dylib"
         "libfactor-ffi-test.dylib"
-    }
-
-    ! sign the binaries
-    dup [
+    } [
         [
             "codesign" ,
             "--entitlements" ,
@@ -48,25 +45,7 @@ M: macosx sign-factor-app
             cert-path ,
             make-factor-path ,
         ] { } make short-running-process
-    ] each
-
-    ! zip the binaries
-    [
-        "zip" ,
-        "-r" ,
-        "factor.zip" temp-file ,
-        [ make-factor-path , ] each
-    ] { } make short-running-process
-
-    ! notarize the binaries
-    [
-        "xcrun" ,
-        "notarytool" ,
-        "submit" ,
-        "factor.zip" temp-file ,
-        notary-args get %
-        "--wait" ,
-    ] { } make short-running-process ;
+    ] each ;
 
 M:: windows sign-factor-app ( -- )
     { "factor.com" "factor.exe" } [
@@ -94,6 +73,16 @@ M: macosx sign-archive
         cert-path
     } over suffix short-running-process
 
+    ! notarize the binaries
+    [
+        "xcrun" ,
+        "notarytool" ,
+        "submit" ,
+        dup ,
+        notary-args get %
+        "--wait" ,
+    ] { } make short-running-process ;
+
     ! staple the notarized ticket
     [
         "xcrun" ,