mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2026-04-30 01:24:24 +00:00
Support regex as major/minor match patterns
This commit is contained in:
parent
9e192e115f
commit
9475102a4a
5 changed files with 58 additions and 16 deletions
|
|
@ -13,11 +13,11 @@ inputs:
|
|||
required: false
|
||||
default: "v"
|
||||
major_pattern:
|
||||
description: "A string which, if present in a git commit, indicates that a change represents a major (breaking) change"
|
||||
description: "A string which, if present in a git commit, indicates that a change represents a major (breaking) change. Wrap with '/' to match using a regular expression."
|
||||
required: true
|
||||
default: "(MAJOR)"
|
||||
minor_pattern:
|
||||
description: "A string which, if present in a git commit, indicates that a change represents a minor (feature) change"
|
||||
description: "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."
|
||||
required: true
|
||||
default: "(MINOR)"
|
||||
format:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue