FN-7568: rename CLI release binary assets to fn-cli-<platform>
Renames the downloadable GitHub Release CLI binaries so they don't collide with other well-known fn-named tools on a user's PATH; the local dev binary name is unchanged.
- Update binaryNameForTarget in packages/cli/build.ts to emit fn-cli-<suffix> instead of fn-<suffix> (local dev binary stays fn/fn.exe)
- Update release.yml and test-release.yml build matrices to use fn-cli-linux-x64, fn-cli-linux-arm64, fn-cli-darwin-arm64, fn-cli-windows-x64.exe
- Update build-exe-cross, ci-workflow, and package-config tests to assert the new fn-cli-<platform> asset names
- Add changeset documenting the release-asset rename
Files changed:
.changeset/fn-7568-fn-cli-release-asset.md | 7 +++++++
.github/workflows/release.yml | 8 ++++----
.github/workflows/test-release.yml | 8 ++++----
packages/cli/build.ts | 10 ++++++++--
packages/cli/src/__tests__/build-exe-cross.test.ts | 14 +++++++-------
packages/cli/src/__tests__/ci-workflow.test.ts | 8 ++++----
packages/cli/src/__tests__/package-config.test.ts | 10 +++++-----
7 files changed, 39 insertions(+), 26 deletions(-)
Fusion-Task-Id: FN-7568
Fusion-Task-Lineage: 1c04d763-5e2f-43e3-84b7-df8dcff8467f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>