File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,34 +42,34 @@ signs:
4242 - id : checksum
4343 artifacts : checksum
4444 args :
45- # Use passphrase from environment variable via file descriptor
45+ # Use passphrase directly from environment variable
4646 - " --batch"
47+ - " --yes"
4748 - " --pinentry-mode"
4849 - " loopback"
49- - " --passphrase-fd "
50- - " 0 "
50+ - " --passphrase"
51+ - " {{ .Env.GPG_PASSPHRASE }} "
5152 - " --local-user"
5253 - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
5354 - " --output"
5455 - " ${signature}"
5556 - " --detach-sign"
5657 - " ${artifact}"
57- stdin : " {{ .Env.GPG_PASSPHRASE }}"
5858 - id : archive
5959 artifacts : archive
6060 args :
6161 - " --batch"
62+ - " --yes"
6263 - " --pinentry-mode"
6364 - " loopback"
64- - " --passphrase-fd "
65- - " 0 "
65+ - " --passphrase"
66+ - " {{ .Env.GPG_PASSPHRASE }} "
6667 - " --local-user"
6768 - " {{ .Env.GPG_FINGERPRINT }}"
6869 - " --output"
6970 - " ${signature}"
7071 - " --detach-sign"
7172 - " ${artifact}"
72- stdin : " {{ .Env.GPG_PASSPHRASE }}"
7373release :
7474 # If you want to manually examine the release before its live, uncomment this line:
7575 draft : true
You can’t perform that action at this time.
0 commit comments