diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 165b359..eedfb5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,6 +88,11 @@ jobs: Copy-Item apps/desktop/launcher/tronbrowser "$stage/tronbrowser" Copy-Item apps/desktop/launcher/tronbrowser.cmd "$stage/tronbrowser.cmd" Copy-Item -Recurse apps/desktop/extensions/ai-sidebar "$stage/extensions/ai-sidebar" + # Same wholesale-copy problem build-release.sh has: the vitest files + # next to the extension sources ride along into the zip. Chrome never + # loads them, and moshpit-drift.test.js imports a devDependency that + # cannot resolve from an unbundled extension. Drop them. + Get-ChildItem "$stage/extensions/ai-sidebar" -Filter *.test.js -Recurse | Remove-Item -Force Copy-Item LICENSE "$stage/LICENSE" "v${{ needs.create-release.outputs.version }}" | Out-File -Encoding ascii "$stage/VERSION" New-Item -ItemType Directory -Force -Path dist | Out-Null