Repository navigation
Docs: CLI release filled in at build time; GitHub Actions example triggers once per PR commit - #174
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #536 · 414 unchanged · no changes This PR vs base: 24 changed, 22 added since #432, across 3 builds docspring/visualci · journeys · build #534 · 2 changed, 40 unchanged · approved by visualci features agent for Nathan Broadbent
This PR vs base: 4 changed, 12 added since #405, across 4 builds
Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
docs-cli-version
branch
from
December 4, 2026 06:22
e0c817b to
5522dbf
Compare
ndbroadbent
force-pushed
the
docs-cli-version
branch
from
December 4, 2026 06:58
5522dbf to
01a97c1
Compare
…ime; the GitHub Actions example runs once per PR commit
ndbroadbent
force-pushed
the
docs-cli-version
branch
from
December 4, 2026 07:57
01a97c1 to
9e1de0f
Compare
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.
The case studies session found the docs still pinning CLI and Action v0.2.23 after 0.2.24 shipped. Moving the pins by hand kept falling behind.
One place for the version
{{cli_version}}:VISUALCI_VERSION={{cli_version}}andgithub-action@v{{cli_version}}.frontend/scripts/cli-version.mjsfills it in at build time with the newest published GitHub release. That's the release, not Cargo.toml, so the docs never name a CLI nobody can download yet: the release workflow runs after the site deploys.VISUALCI_CLI_VERSIONoverrides it..mdcopies);__VISUALCI_CLI_VERSION__, defined in vite.config);GITHUB_TOKEN.skills/are committed and served over MCP and the plugins, so they can't hold a build-time value. They sayx.y.z, with a line pointing at https://github.com/DocSpring/visualci/releases/latest. Plugin bumped to 0.1.56.site.mjsnow fails if any page or.mdcopy still says{{cli_version}}, or if pages pin different releases. The release lookup it used to make is gone, because the version comes from the release.{{cli_version}}.One build per PR commit
on: pull_requestpluspush: branches: [main].pushon every branch too sends two builds for each PR commit.Checked on a build box:
pnpm buildwithCI=1and no token resolved 0.2.24; dist pins 0.2.24 everywhere.tsc -b: clean.skills.mjs --check: clean. actionlint: clean.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.