Repository navigation
@W-24861158: ci(version): set plugin.json versions from the PR's Version Bump box - #43
Merged
Merged
Conversation
…ion Bump box A PR that changes anything outside docs/ and .github/ must tick None, Patch, Minor, or Major in its description. CI sets version in every plugin.json under platforms/ from it and tags vX.Y.Z on merge. Also adds a build check on every PR, so it can be the required check that turns on "Require branches to be up to date".
bcantoni
approved these changes
Nov 19, 2026
bcantoni
left a comment
Contributor
There was a problem hiding this comment.
Approved, but either as part of this or afterwards, we should probably update those actions, for example:
actions/checkout@v7
actions/setup-python@v7
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
New rule: a PR that changes anything outside
docs/and.github/must tickNone, Patch, Minor, or Major under Version Bump. CI sets
versionin everyplugin.jsonunderplatforms/from it and pushes that commit to the PR.Nobody edits
versionby hand anymore.Why: Claude Code and other git-marketplace installs update a plugin only when
its version changes. The version is bumped by hand today, so it gets missed.
This follows tableau-mcp's
auto-version-bump.yml, with two differences:is ticked. None is for changes users don't get, such as a refactor.
package.json.jqrewrites all three on everyrun, and the tag step fails if they disagree.
On merge, CI tags
vX.Y.Z(except for None).Also adds
build.yml, which builds every platform on each PR. After merge, anadmin should make
builda required check with "Require branches to be up todate". That makes a PR re-bump after another one merges, so two PRs can't ship
the same version. tableau-mcp's ruleset works the same way.
.codex-plugin/plugin.jsonis reformatted once tojq's layout (samecontent), so later bump commits change one line per file.
Version Bump
A PR that changes anything outside
docs/and.github/must tick one box;the check fails until you do. CI sets the version from it:
How Has This Been Tested?
Ran the version workflow's
run:blocks against a throwaway repo with a bareorigin, 14 cases. The bump job: no box fails; Patch, Minor, Major, and
switching back to None each set the right version in all three files; a hand
edit to one file is overwritten; each bot commit changes only the
versionlines. The tag job: tags on merge, skips a rerun, and errors on a reused
version, no box, or manifests that disagree.
Ran
build.yml's three build commands locally; all pass.This PR is the first run of both workflows on GitHub.
Known gaps: