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
|
|
@ -71,9 +71,9 @@ it will be given the new version if the build were to be retriggered, for exampl
|
|||
# The prefix to use to identify tags
|
||||
tag_prefix: "v"
|
||||
# A string which, if present in a git commit, indicates that a change represents a
|
||||
# major (breaking) change
|
||||
# major (breaking) change, supports regular expressions wrapped with '/'
|
||||
major_pattern: "(MAJOR)"
|
||||
# Same as above except indicating a minor change
|
||||
# Same as above except indicating a minor change, supports regular expressions wrapped with '/'
|
||||
minor_pattern: "(MINOR)"
|
||||
# A string to determine the format of the version output
|
||||
format: "${major}.${minor}.${patch}-prerelease.${increment}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue