Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate capture group name #2258

Open
tamusil-cen55253 opened this issue Apr 5, 2024 · 0 comments
Open

Duplicate capture group name #2258

tamusil-cen55253 opened this issue Apr 5, 2024 · 0 comments
Assignees
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.

Comments

@tamusil-cen55253
Copy link

We want to use ${branch?} as mentioned here https://github.com/googleapis/release-please/blob/main/docs/customizing.md#pull-request-title

Steps to reproduce

  1. Customize "pull-request-title-pattern": "chore${scope}: release${component} ${version} from ${branch}", inside release-please-config.json
  2. Run release please

You will get error like Invalid regular expression: /^chore(\\((?<branch>[\\w-./]+)\\))?: release ?(?<component>@?[\\w-./]*)? v?(?<version>[0-9].*) from (?<branch>[\\w-./]+)?$/: Duplicate capture group name

@tamusil-cen55253 tamusil-cen55253 added 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. labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants