uplift
uplift copied to clipboard
[Feature]: Enhance bumping of TOML files
Describe your feature
Expand the existing file bumping support to include TOML files.
Your potential solution
Expand the existing config to support the inclusion of a TOML path(s) when defining a bump.
bumps:
-
file: ./config.toml
toml:
- path: 'version'
semver: true
Libraries exist to convert TOML into JSON and back.
Any additional information?
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
https://github.com/TomWright/dasel
Has the ability to modify any values within YAML, TOML, JSON, XML and CSV files
Proposing a new simplified strategy for bumping files:
bumps:
- file: Chart.yaml
regex:
json: #deprecated
paths:
# Raw string
- ".path.path.path"
# Complex type
- path: ".path.path.path"
semver: yes|no|true|false