Support custom regex for x-release-please-* annotations in extra-files #2345
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently, the version updater in extra-files allows us to specify an inline line to update (with
x-release-please-*
) or a block of lines (withx-release-please-start-*
).However, within the block of lines it replaces any string that looks like a version number.
I have a fenced code block that provides sample code for installing my library (Google-maps-iOS-Utils) alongside a related dependency (GoogleMaps). I want release-please to update the dependency for my library without updating the version number of the other dependency.
When I try marking the code block, release-please updates every version number in the code block.
Input code
Output (see automated commit in the Release PR)
When I try marking the single line with an inline comment, release-please actually ignores that whole code block and updates other version numbers in other parts of the file.
Input code
Output (see automated commit in the Release PR)
no change
...
changed without any annotation
Proposal
Alternatives
The text was updated successfully, but these errors were encountered: