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

Question regarding feature branches #21

Open
thoefkens opened this issue Jan 18, 2022 · 1 comment
Open

Question regarding feature branches #21

thoefkens opened this issue Jan 18, 2022 · 1 comment

Comments

@thoefkens
Copy link

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

@idc101
Copy link
Owner

idc101 commented Feb 20, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants