Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make gsemver bump auto more configurable #4

Closed
6 tasks done
arnaud-deprez opened this issue Jun 27, 2019 · 0 comments
Closed
6 tasks done

Make gsemver bump auto more configurable #4

arnaud-deprez opened this issue Jun 27, 2019 · 0 comments
Labels
enhancement New feature or request epic large bodies of work that can be broken down into a number of smaller tasks

Comments

@arnaud-deprez
Copy link
Owner

arnaud-deprez commented Jun 27, 2019

Is your feature request related to a problem? Please describe.

Currently gsemver bump [auto] uses:

  • conventional commits convention to generate the next version.
  • look for tags with v prefix to find the latest version.
  • generate version with build metadata on non release branches

Describe the solution you'd like

A lot of project do not use these conventions but others such as:

  • git flow kind of convention: eg. a fix should be done in bug/* branch, a feature in feature/*, a breaking change in major/* 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.
  • some projects use different prefix or no prefix at all for their tags
  • some projects prefer to use pre-release on non release branch such as most of the maven project with their -SNAPSHOT version.

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

@arnaud-deprez arnaud-deprez added the enhancement New feature or request label Jun 27, 2019
@arnaud-deprez arnaud-deprez added this to the 0.2.0 milestone Jul 8, 2019
@arnaud-deprez arnaud-deprez modified the milestones: 0.2.0, 0.3.0 Jul 24, 2019
@arnaud-deprez arnaud-deprez removed this from the 0.3.0 milestone Aug 7, 2019
@arnaud-deprez arnaud-deprez modified the milestone: 0.4.0 Aug 9, 2019
@arnaud-deprez arnaud-deprez added the epic large bodies of work that can be broken down into a number of smaller tasks label Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic large bodies of work that can be broken down into a number of smaller tasks
Projects
None yet
Development

No branches or pull requests

1 participant