switch release workflow to binary only

This commit is contained in:
Advait Paliwal
2026-04-10 11:02:50 -07:00
parent 790824af20
commit b3a82d4a92
8 changed files with 24 additions and 87 deletions

View File

@@ -109,8 +109,8 @@ This usually means the release exists, but not all platform bundles were uploade
Workarounds:
- try again after the release finishes publishing
- install via pnpm instead: pnpm add -g @companion-ai/feynman
- install via bun instead: bun add -g @companion-ai/feynman
- pass the latest published version explicitly, e.g.:
& ([scriptblock]::Create((irm https://feynman.is/install.ps1))) -Version 0.2.16
"@
}
@@ -159,9 +159,7 @@ CALL "$bundleDir\feynman.cmd" %*
Write-Warning "Current shell resolves feynman to $($resolvedCommand.Source)"
Write-Host "Run in a new shell, or run: `$env:Path = '$installBinDir;' + `$env:Path"
Write-Host "Then run: feynman"
if ($resolvedCommand.Source -like "*node_modules*@companion-ai*feynman*") {
Write-Host "If that path is an old global npm install, remove it with: npm uninstall -g @companion-ai/feynman"
}
Write-Host "If that path is an old package-manager install, remove it or put $installBinDir first on PATH."
}
Write-Host "Feynman $resolvedVersion installed successfully."