You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--issue-pattern`|`sync`| Extract issue identifiers captured by group 1 from commit subjects |
162
163
|`--link`|`sync`, `complete`, `update`| Add a link to the targeted release. Use `--link "https://example.com"` or `--link "Label=https://example.com"`; repeat the flag to add multiple links. |
163
164
|`--document`|`sync`, `complete`, `update`| Attach a document. `--document "Title=...markdown..."`; repeat for multiple docs. Existing documents with the same title on the release are updated. |
164
165
|`--document-file`|`sync`, `complete`, `update`| Same as `--document` but reads the body from a file: `--document-file "Title=path/to/file.md"`. Use `-` to read from stdin. |
@@ -236,6 +237,23 @@ The regex is matched against the commit subject only (everything before the firs
236
237
237
238
`--include-subjects` composes with `--include-paths`: a commit must pass both filters to be scanned.
238
239
240
+
### Custom issue patterns
241
+
242
+
Use `--issue-pattern` to extract issue identifiers from a custom commit-subject convention. Capture the identifier in group 1; the regex is applied to the subject only, case-insensitively, and anywhere in the subject, with all matches collected. It is additive to the built-in branch-name, magic-word, and subject-pattern detection.
243
+
244
+
```bash
245
+
# Conventional Commits with a bracketed identifier
# Also matches both IDs: fix(scope): color button red DEV-123 DEV-124
253
+
```
254
+
255
+
Identifiers that do not exist in the workspace are ignored server-side, so the broad recipe is safe but can be noisy (for example, it also matches `UTF-8`). Reverting a commit whose issues were linked only through `--issue-pattern` does not un-link them, just as with the built-in subject patterns.
256
+
239
257
### Release Links
240
258
241
259
`--link` attaches external URLs to the release — a GitHub release page, a CI run, a deployment dashboard.
0 commit comments