wyattjoh/JSON Version Update
Update a version string embedded in a JSON value using a template, then commit and push the change
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file | Path to the JSON file to update | yes | — |
| jsonpath | jq-style path to the field (e.g., .mcpServers["op-remote"].args[0]) | yes | — |
| template | Template string with ${version} placeholder (e.g., @scope/pkg@${version}) | yes | — |
| version | Version string to substitute into the template | yes | — |
| commit-message | Git commit message (default: chore: update version in <file>) | no | — |
| push | Push the commit after creating it (default: true) | no | true |
Outputs
no outputs