googleapis / googleapis/release-please

Duplicate capture group name

Open
#2,258 0 comments 0 reactions 1 assignee Claimed by @chingor13 View on GitHub
priority: p3 type: bug
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

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(\\((?[\\w-./]+)\\))?: release ?(?@?[\\w-./]*)? v?(?[0-9].*) from (?[\\w-./]+)?$/: Duplicate capture group name`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.