Skip to content

Add setup binary to release workflow#12

Merged
chinkan merged 3 commits intomainfrom
claude/fix-github-actions-cd-XhjgH
Feb 20, 2026
Merged

Add setup binary to release workflow#12
chinkan merged 3 commits intomainfrom
claude/fix-github-actions-cd-XhjgH

Conversation

@chinkan
Copy link
Copy Markdown
Owner

@chinkan chinkan commented Feb 20, 2026

Summary

Extended the release workflow to build and upload a setup binary alongside the main rustfox binary for all target platforms.

Key Changes

  • Added setup_artifact_name and setup_asset_name matrix variables for all four build targets (Linux x86_64, macOS x86_64, macOS aarch64, and Windows x86_64)
  • Added a step to rename the setup binary to include the platform-specific asset name
  • Added a step to upload the setup binary as a separate artifact in the release workflow

Implementation Details

  • Setup binaries are named according to platform conventions (e.g., setup for Unix-like systems, setup.exe for Windows)
  • Asset names follow the same naming pattern as the main rustfox binary with platform identifiers (e.g., setup-linux-x86_64, setup-windows-x86_64.exe)
  • The rename and upload steps mirror the existing pattern used for the main rustfox binary

https://claude.ai/code/session_01QjZinPT76ipMg4iVkVwydM

The release workflow was building both `rustfox` and `setup` binaries
but only uploading `rustfox`. Users who download from GitHub releases
had no way to use the setup wizard without building from source.

Added setup_artifact_name and setup_asset_name matrix variables for
each platform, with corresponding rename and upload steps so both
binaries are included in every release.

https://claude.ai/code/session_01QjZinPT76ipMg4iVkVwydM
Users downloading binaries from GitHub releases had no example config,
no skills, and no setup.sh — making it impossible to get started
without cloning the repo separately.

Added a `package-extras` job that bundles config.example.toml,
setup.sh, and the skills/ directory into rustfox-extras.tar.gz and
attaches it to every release. The `release` job now waits on both
`build` and `package-extras` before creating the release.

https://claude.ai/code/session_01QjZinPT76ipMg4iVkVwydM
Each release artifact now contains everything needed to get started:
- rustfox binary
- setup binary
- config.example.toml
- skills/ folder

Produces one archive per target environment:
- rustfox-linux-x86_64.tar.gz
- rustfox-macos-x86_64.tar.gz
- rustfox-macos-aarch64.tar.gz
- rustfox-windows-x86_64.zip (.zip for Windows, .tar.gz for Unix)

Removes the separate package-extras job in favour of staging all
files together during each platform's build job.

https://claude.ai/code/session_01QjZinPT76ipMg4iVkVwydM
@chinkan chinkan merged commit ccf53fd into main Feb 20, 2026
5 checks passed
@chinkan chinkan deleted the claude/fix-github-actions-cd-XhjgH branch February 20, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants