Skip to content

ci: link preview installers and pin install scripts - #2499

Merged
fengmk2 merged 2 commits into
mainfrom
fix/preview-installer-links
Aug 19, 2026
Merged

ci: link preview installers and pin install scripts#2499
fengmk2 merged 2 commits into
mainfrom
fix/preview-installer-links

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 19, 2026

Copy link
Copy Markdown
Member

Preview builds upload x64 and Arm64 vp-setup.exe artifacts, but the preview comment did not link to them. The comment also fetched installation scripts from vite.plus, which serves the latest release.

Now the comment links to both installer artifacts. GitHub requires sign-in and downloads each artifact as a ZIP file.

The shell commands fetch install.sh and install.ps1 from the exact PR head commit. They then install the matching registry bridge version.

@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 3a3cb4e
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a85c01156538500088bcac5
😎 Deploy Preview https://deploy-preview-2499--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@fengmk2 fengmk2 self-assigned this Aug 19, 2026
@fengmk2 fengmk2 added the preview-build Publish this PR's commits to the registry bridge as preview builds label Aug 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Registry bridge build (6789c50)

This commit build is published to the registry bridge, which serves these as ordinary npm versions (every other package proxies to npmjs):

Package Version
vite-plus 0.0.0-commit.6789c50542dca692c8f494bd4d594a0fd2b4a160
@voidzero-dev/vite-plus-core 0.0.0-commit.6789c50542dca692c8f494bd4d594a0fd2b4a160

Install the Vite+ CLI built from this commit, then migrate a project:

# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2499 bash
# Windows (PowerShell)
$env:VP_PR_VERSION="2499"; irm https://vite.plus/ps1 | iex

After installing, upgrade the current project's vite-plus to this test build with:

vp migrate

Or point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:

Package manager Registry config
npm / pnpm / Bun .npmrc: registry=https://registry-bridge.viteplus.dev/
Yarn (v2+) .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/"

Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):

{
  "devDependencies": {
    "vite-plus": "0.0.0-commit.6789c50542dca692c8f494bd4d594a0fd2b4a160",
    "vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.6789c50542dca692c8f494bd4d594a0fd2b4a160"
  }
}

@fengmk2
fengmk2 marked this pull request as ready for review August 19, 2026 07:16
@github-actions

Copy link
Copy Markdown
Contributor

🐳 Docker preview image

Built from this PR's registry bridge build:

Image Compressed size
ghcr.io/voidzero-dev/vite-plus:pr-2499 235MB
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2499 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2499

Quick check:

docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2499 vp --version

See docs/guide/docker.md for usage.

@fengmk2
fengmk2 requested a review from wan9chi August 19, 2026 07:16
@fengmk2
fengmk2 force-pushed the fix/preview-installer-links branch from 501a049 to 3a3cb4e Compare August 19, 2026 14:39
@fengmk2 fengmk2 changed the title ci: link Windows installers in preview comments ci: link preview installers and pin install scripts Aug 19, 2026
@fengmk2
fengmk2 merged commit 66282f6 into main Aug 19, 2026
45 checks passed
@fengmk2
fengmk2 deleted the fix/preview-installer-links branch August 19, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview-build Publish this PR's commits to the registry bridge as preview builds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants