From 31f34c5df2363316f23a23398a81cf2d363cd19a Mon Sep 17 00:00:00 2001 From: Hunter B Date: Mon, 1 Jun 2026 03:58:42 -0700 Subject: [PATCH] ci(release): attach windows npm launcher asset --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60f0283d..98ed2452 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -463,6 +463,22 @@ jobs: # Match both the canonical `codewhale*` artifacts and the legacy # `deepseek*` shim artifacts that ship for the transition release. pattern: '*' + - name: Generate Windows npm launcher asset + shell: bash + run: | + set -euo pipefail + mkdir -p artifacts/codewhale-windows-launcher + { + printf '@echo off\r\n' + printf 'where wt >nul 2>nul\r\n' + printf 'set NO_ANIMATIONS=1\r\n' + printf 'if "%%ERRORLEVEL%%"=="0" (\r\n' + printf ' wt --title CodeWhale cmd /k "%%~dp0codewhale-windows-x64.exe"\r\n' + printf ') else (\r\n' + printf ' "%%~dp0codewhale-windows-x64.exe"\r\n' + printf ')\r\n' + printf '\r\n' + } > artifacts/codewhale-windows-launcher/codewhale.bat - name: List artifacts run: find artifacts -type f - name: Generate checksum manifest