Commit 7462562
ci(release): attach per-target vp binary archives to GitHub Releases (#1665)
## Summary
- Package the existing `vite-global-cli-<target>` matrix artifacts into
per-platform `.tar.gz` (unix) / `.zip` (windows) archives inside
`reusable-release-build.yml`, and attach them to the GitHub Release
alongside the existing `vp-setup-*.exe` installers.
- Asset names use the Rust target triple verbatim
(`vp-x86_64-unknown-linux-gnu.tar.gz`, `vp-x86_64-pc-windows-msvc.zip`,
...) so no name-mapping table is needed on the CI side.
- Permissions are preserved because the archive is produced inside the
same matrix job that builds the binary (no upload/download round-trip
strip).
## Why
The release pipeline already cross-compiles `vp` for 8 targets, but only
the Windows `vp-setup.exe` installer ever reaches the GitHub Release.
Tools like mise (`aqua:` backend) and aqua itself expect to consume
binaries from GitHub Releases rather than npm tarballs — see
[#943](#943).
This is the minimal CI plumbing for that. Out of scope: aqua-registry
PR, `jdx/mise` `registry/viteplus.toml` update, and resolving the
runtime JS-sidecar dependency in
`crates/vite_global_cli/src/js_executor.rs` — those are tracked
separately on #943.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6b0ae34 commit 7462562
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
203 | 210 | | |
204 | 211 | | |
205 | 212 | | |
| 213 | + | |
| 214 | + | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
105 | 124 | | |
106 | 125 | | |
107 | 126 | | |
| |||
0 commit comments