ci(release): attach per-target vp binary archives to GitHub Releases#1665
Open
Boshen wants to merge 1 commit into
Open
ci(release): attach per-target vp binary archives to GitHub Releases#1665Boshen wants to merge 1 commit into
Boshen wants to merge 1 commit into
Conversation
Package the existing `vite-global-cli-<target>` matrix artifacts into per-platform `.tar.gz` (unix) / `.zip` (windows) archives and attach them to the GitHub Release alongside the existing `vp-setup-*.exe` installers. Naming uses the Rust target triple verbatim (`vp-x86_64-unknown-linux-gnu.tar.gz`, etc.) so no name-mapping table is needed in CI. Unblocks consumers like mise / aqua that prefer GitHub Release assets over the npm-only distribution path discussed in #943. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for viteplus-preview canceled.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vite-global-cli-<target>matrix artifacts into per-platform.tar.gz(unix) /.zip(windows) archives insidereusable-release-build.yml, and attach them to the GitHub Release alongside the existingvp-setup-*.exeinstallers.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.Why
The release pipeline already cross-compiles
vpfor 8 targets, but only the Windowsvp-setup.exeinstaller 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.This is the minimal CI plumbing for that. Out of scope: aqua-registry PR,
jdx/miseregistry/viteplus.tomlupdate, and resolving the runtime JS-sidecar dependency incrates/vite_global_cli/src/js_executor.rs— those are tracked separately on #943.🤖 Generated with Claude Code