-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Discussed in https://github.com/orgs/goreleaser/discussions/5616
Originally posted by briangardner March 5, 2025
The timeout
field in notarize.macos.notarize
is a time.Duration
, meaning it needs to be a string to support values like 20m
.
Example Notarize block:
notarize:
macos:
- ids:
- build1
enabled: '{{ isEnvSet "MACOS_SIGN_P12" }}'
sign:
certificate: '{{.Env.MACOS_SIGN_P12 }}'
password: '{{.Env.MACOS_SIGN_P12_PASSWORD }}'
notarize:
issuer_id: '{{.Env.MACOS_SIGN_ISSUER_ID }}'
key: '{{.Env.MACOS_SIGN_KEY }}'
key_id: {{.Env.MACOS_SIGN_KEY_ID }}'
wait: true
timeout: 20
This will generate the error
error=
│ failed to load configuration: yaml: unmarshal errors:
│ line 108: cannot unmarshal !!int `20` into time.Duration
```</div>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working