Serve installer from get.valyu.ai#73
Merged
Merged
Conversation
- Point install one-liners, release notes, and upgrade commands at https://get.valyu.ai (raw.githubusercontent.com URLs keep working) - Add publish-installer workflow: uploads install.sh/install.ps1 to the install-scripts bucket via OIDC when they change on main, then verifies the served content matches - Fix version drift: v1.2.1 binaries self-reported v1.2.0 because src/lib/version.ts was not bumped; sync-skill-version.mjs now keeps it in lockstep with package.json
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.
What
curl -fsSL https://get.valyu.ai | bash(macOS/Linux)irm https://get.valyu.ai/install.ps1 | iex(Windows)publish-installerworkflow: wheninstall.sh/install.ps1change onmain, uploads them to the install-scripts S3 bucket via GitHub OIDC (no stored credentials) and verifies the served content matches the repo byte-for-byte.src/lib/version.tsis a hardcoded constant that wasn't bumped.sync-skill-version.mjsnow syncs it from package.json alongside SKILL.md, and the npmversionhook stages it.Notes
raw.githubusercontent.cominstall URLs keep working -install.sh/install.ps1in this repo remain the source of truth, and get.valyu.ai serves a synced copy. Binaries still come from GitHub Releases with sha256 verification, unchanged.Cache-Control: no-cache, so fixes propagate immediately.mainbranch and can only write the two script objects.Testing
pnpm build && pnpm typecheck && pnpm test- 49/49 passingnode dist/cli.cjs --versionreports v1.2.2curl -fsSL https://get.valyu.ai | bashinstalls and runs (domain is already live, seeded with current main's scripts)Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.