ci: 서명 identity 에서 인증서 종류 접두사를 뺀다 - #55
Conversation
electron-builder 는 CSC_NAME 에 "Developer ID Application:" 접두사가 붙어 있으면 거부한다. find-identity 출력에서 따옴표 안을 통째로 뽑던 것을 접두사 뒤만 뽑도록 고친다. 매치된 줄만 출력하게 바꿔서, 출력 형식이 달라지면 빈 값이 되어 아래 검사에 걸린다. 전에는 매치가 빗나가도 원본 줄이 그대로 흘러갔다.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughmacOS 릴리스 워크플로가 ChangesmacOS 릴리스 서명
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to The macOS release workflow now passes the certificate name without its type prefix and fails clearly when no matching identity is found. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
무엇이
v0.10.0 재빌드가 서명 단계에서 실패했다.
앞선 워크플로 변경에서
find-identity출력의 따옴표 안을 통째로 뽑아CSC_NAME으로 넘겼다. 그 값이Developer ID Application: <이름> (<팀>)이라 electron-builder 가 거부한다. 접두사 뒤만 넘겨야 한다.어떻게
sed -n ... p로 매치된 줄만 출력한다. 접두사를 벗기는 것과 함께, 출력 형식이 달라졌을 때 빈 값이 되도록 하는 효과가 있다. 전에는 정규식이 빗나가면1) ABC123 "..."같은 원본 줄이 그대로CSC_NAME으로 흘러갔다.진전
이번 실패는 앞선 수정이 통했다는 신호이기도 하다. 키체인 준비 단계가 성공했고, 인증서를 찾아 등록하는 데까지 갔다. 지난번에 막히던
set-key-partition-list는 넘어갔다.한편 이번 runner 는
os=25.5.0으로 배정됐다. 즉 이미지 배정이 오락가락한다. 키체인을 직접 관리하는 편이 그 변동에 흔들리지 않으므로 그대로 둔다.Summary by CodeRabbit