mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-08 09:04:17 +00:00
fix: remove anchor
This commit is contained in:
parent
36de0820fc
commit
e71c2c074d
5 changed files with 5 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue