Generic updater: x-release-please-major does not match strings prefixed with 'v' (e.g., 'v<major>') #2421
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Generic updater: x-release-please-major does not match strings prefixed with 'v' (e.g., 'v')
Environment details
release-please
version: 16.12.0Steps to reproduce
When annotating a file with
x-release-please-major
like this:The result is the following update:
The expected output is:
Looking at the generic updater code, this appears to be directly caused by the regex used for single version updates. It looking for a preceding word boundary, which in this case there is none.
I was unable to find documentation on why this is a desired behavior, or is this was fixed in a more recent version.
The text was updated successfully, but these errors were encountered: