From f3061d6e32e61519b045372ad8ce7b193d4f6b4b Mon Sep 17 00:00:00 2001 From: Devin Date: Mon, 3 Aug 2026 13:58:58 +0200 Subject: [PATCH] fix: run Windows binary rename step with bash The rename script uses POSIX if/[ tests, which PowerShell rejects on windows-latest. Match the checksum step and force shell: bash. Co-authored-by: Cursor --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79da803..a35c248 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,6 +93,7 @@ jobs: - name: Rename binary (Windows) if: matrix.platform == 'win' + shell: bash run: | cd dist # pkg creates binaries with package name @@ -100,6 +101,10 @@ jobs: mv investec-ipb-win-x64.exe ${{ matrix.binary-name }} elif [ -f "index.exe" ]; then mv index.exe ${{ matrix.binary-name }} + else + echo "Expected Windows binary not found in dist/" + ls -la + exit 1 fi - name: Calculate SHA256 checksum (macOS/Linux)