Make gsemver bump auto more configurable #4
Labels
enhancement
New feature or request
epic
large bodies of work that can be broken down into a number of smaller tasks
Is your feature request related to a problem? Please describe.
Currently
gsemver bump [auto]
uses:v
prefix to find the latest version.Describe the solution you'd like
A lot of project do not use these conventions but others such as:
bug/*
branch, a feature infeature/*
, a breaking change inmajor/*
or so. While it's not possible in git to retrieve the original branch, you can leverage a merge commit that contains the name of that branch and configure regular expression to match it.Additional context
We may want to leverage go template to define the version format in non release branches for example to reuse the current branch name, the commit id, the number of commits from the latest tag, etc.
So this feature should probably be split into smaller issues.
Tasks
v
prefix Match tag with or withoutv
prefix #16build-metadata
andpre-release
Use go template for build-metadata and pre-release #18major-regex
andminor-regex
parameter Add major-pattern and minor-pattern parameter #23The text was updated successfully, but these errors were encountered: