Feat: support flags when using regexp

This commit is contained in:
DELMAS Nicolas 2022-09-23 15:44:55 +02:00
parent 8a595f42df
commit 472c83c1ce
11 changed files with 52 additions and 10 deletions

View file

@ -20,10 +20,18 @@ inputs:
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)"
major_regexp_flags:
description: "A string which indicates the flags used by the `major_pattern` regular expression. Supported flags: idgs"
required: false
default: ""
minor_pattern:
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)"
minor_regexp_flags:
description: "A string which indicates the flags used by the `minor_pattern` regular expression. Supported flags: idgs"
required: false
default: ""
version_format:
description: "Pattern to use when formatting output version"
required: true