IntershopCommunicationsAG/scmversion-gradle-plugin

configure default branch?

Opened this issue · 2 comments

Hi,

is there (for 2.x) a way to configure the name of the (git) default branch?

Currently the plugin assumes "master", but we have other default branch names in our projects. Thus, can we configure it somehow?

Thanks!

I would also like to know how to use different branch name. We use main instead of master with 2.6.1

Unfortunately, I never found a way. "master" is hard coded.
We had to switch back to "master" to make it work.