git-mkver icon indicating copy to clipboard operation
git-mkver copied to clipboard

Question regarding feature branches

Open thoefkens opened this issue 3 years ago • 1 comments

Hi! Thanks for the great tool! When I use it in ci/cd on feature branches, also when checking out the master branch, mkver next would suggest e.g. 0.1.0+feature-880285.170e24c as I start a pipeline from branch feature/880285. Before executing git-mkver, I switch to master. (git checkout -b master) Is it possible to have git-mkver suggest a "next" tag based upon the checked out branch? Thanks! Thomas

thoefkens avatar Jan 18 '22 18:01 thoefkens

Hi, thanks, glad it's useful! You can have different config for different branches. See the docs: https://idc101.github.io/git-mkver/config_reference Is that what you need?

idc101 avatar Feb 20 '22 08:02 idc101