Commit b4b9ece
committed
ci: remove --keychain-password from store-credentials call
The notarize step was failing with:
Error: Unknown option '--keychain-password'
Usage: notarytool ... store-credentials [--verbose ...]
[--key <key>] ... --keychain <keychain>]
See 'notarytool ... store-credentials --help' for more
information.
The --keychain-password flag is only valid for
'xcrun notarytool submit', not for
'xcrun notarytool store-credentials'. The store-credentials
command reads the keychain password via the keychain
authentication system instead.
The keychain is already unlocked by the import step
(security unlock-keychain -p "$KEYCHAIN_PASSWORD"
"$KEYCHAIN_PATH") and remains unlocked for 6 hours
(set-keychain-settings -lut 21600), so by the time the
notarize step runs, the keychain is accessible without
re-supplying the password.
Fix: drop --keychain-password from the store-credentials
invocation. Keep it on the submit invocation where it IS
valid.1 parent 5fd0e83 commit b4b9ece
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
440 | 443 | | |
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
445 | | - | |
446 | | - | |
| 448 | + | |
447 | 449 | | |
448 | 450 | | |
449 | 451 | | |
| |||
0 commit comments