Skip to content

Add an only-version input for targeted single-version updates - #103

Merged
KristofferC merged 1 commit into
mainfrom
only-version-input
Aug 14, 2026
Merged

Add an only-version input for targeted single-version updates#103
KristofferC merged 1 commit into
mainfrom
only-version-input

Conversation

@KristofferC

Copy link
Copy Markdown
Member

Adds an only-version text input to the Run workflow dialog. Give it one version (e.g. 1.13.0-rc3) and the build downloads exactly that version's files and updates versions.json with exactly that version — every other seeded entry is carried over untouched, with no HEAD sweep over the rest of the grid. This makes the release-day update a targeted, fast run instead of a full pass over every tag.

Safety guards:

  • errors if the given version is not a tag in JuliaLang/julia (catches typos before anything is touched)
  • refuses to run when no seeded versions.json is present, since the result would contain only that one version

Left empty (or on push-triggered runs) the behavior is unchanged from main.

Tested locally against the currently deployed versions.json with only_version = "1.13.0-rc3": it downloaded rc3's 14 files, the resulting file's only added key is 1.13.0-rc3 (byte-identical to what a full incremental run produces), and it passes the schema check and test/more_tests.jl.

🤖 Generated with Claude Code

Give the workflow one version (e.g. 1.13.0-rc3) and it downloads exactly
that version's files and updates versions.json with exactly that version;
every other seeded entry is carried over untouched. Refuses a version
that isn't a julia tag, and refuses to run without a seeded
versions.json (the result would contain only that version).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@KristofferC

Copy link
Copy Markdown
Member Author

I have a backup and will just test this to see how it works in practice. It worked well locally.

@KristofferC
KristofferC merged commit e491549 into main Aug 14, 2026
4 checks passed
@KristofferC
KristofferC deleted the only-version-input branch August 14, 2026 08:42
@KristofferC

Copy link
Copy Markdown
Member Author

This worked ok https://github.com/JuliaLang/VersionsJSONUtil.jl/actions/runs/31785004778/job/94718864946. Took 4 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant