Commit 541bcdd
committed
fix(sign-windows): surface keytool errors instead of silencing them
The keytool invocation that discovers the PKCS#11 key alias had `2>/dev/null`
on its stderr. Combined with `set -o pipefail`, any keytool failure exited the
script silently with no diagnostic output — the v0.15.0 release attempt failed
this way after `Get Certificates` and we had no error message to debug from.
Capture full keytool output to a log file, dump it, and fail with explicit
messages for both keytool errors and missing PrivateKeyEntry.1 parent e1d7177 commit 541bcdd
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | | - | |
243 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
244 | 258 | | |
245 | 259 | | |
246 | 260 | | |
| |||
0 commit comments