fix: remove anchor

This commit is contained in:
Dom Light 2026-01-23 09:55:54 +00:00 committed by GitHub
parent 36de0820fc
commit e71c2c074d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ export class ActionConfig {
/** A string which indicates the flags used by the `majorPattern` regular expression. */
public majorFlags: string = "";
/** A string which, if present in a git commit, indicates that a change represents a minor (feature) change. Wrap with '/' to match using a regular expression. */
public minorPattern: string = "/^feat(\\(.+\\))?:/";
public minorPattern: string = "/feat(\\(.+\\))?:/";
/** A string which indicates the flags used by the `minorPattern` regular expression. */
public minorFlags: string = "";
/** Pattern to use when formatting output version */

View file

@ -33,7 +33,7 @@ program
.option(
"-m, --minor-pattern <pattern>",
"Regex pattern for minor version bumps",
"/^feat(\\(.+\\))?:/",
"/feat(\\(.+\\))?:/",
)
.option("--minor-flags <flags>", "Flags for minor pattern regex", "")
.option(