• Will Chen's avatar
    enable debug logging for windows sign (#2034) · 05a6b7b0
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Improves observability of Windows signing during releases.
    > 
    > - Enable Electron Forge debug output in the workflow by setting
    `DEBUG="@electron/*"` during `Publish app`
    > - Turn on `windowsSign.debug` in `forge.config.ts`
    > - Add detailed, redacted logging and error handling to
    `scripts/windows-sign-hook.js` (logs inputs, command, success/failure;
    still only signs `dyad.exe`)
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    bfdbc12a7a0e5a5eb0810a3303e732c6ad0a4eef. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Enable verbose debugging for Windows code signing to make CI signing
    issues easier to diagnose. Adds detailed logs in the signing hook and
    enables Electron Forge debug output during release.
    
    - **New Features**
    - Set DEBUG="@electron/*" in the release workflow to capture
    Forge/Squirrel logs.
      - Enable windowsSign.debug in forge.config.
    - Add verbose logging and error handling in windows-sign-hook (inputs,
    command, success/failure).
    
    <sup>Written for commit bfdbc12a7a0e5a5eb0810a3303e732c6ad0a4eef.
    Summary will update automatically on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    05a6b7b0
forge.config.ts 4.5 KB