Przeglądaj źródła

fix: cap macOS notarize timeout at Apple's 20m limit (#1124)

James Read 1 dzień temu
rodzic
commit
ff1c99e298
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      .goreleaser.yml

+ 2 - 1
.goreleaser.yml

@@ -224,7 +224,8 @@ notarize:
         key_id: "{{.Env.MACOS_NOTARY_KEY_ID}}"
         key: "{{.Env.MACOS_NOTARY_KEY}}"
         wait: true
-        timeout: 30m
+        # Apple rejects notary auth tokens with lifetimes over 20m.
+        timeout: 20m
 
 release:
   # Publish immediately without Windows assets; sign-windows uploads signed zip/MSI later.