Skip to content

Generic TOML updater #1832

@phated

Description

@phated

Is your feature request related to a problem? Please describe.

TOML is a fairly common file type, but Release Please doesn't provide a generic updater for it. This should be fairly easy (hint: I've already done it) to provide because RP already has machinery for Rust packages.

Describe the solution you'd like

A GenericToml updater can be added that uses JSONPath to update specific fields in a TOML file.

Describe alternatives you've considered

Alternative would be to use the text based generic updater and enclose the sections in the x-release-please comments.

Additional context
N/A

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions