Minilla initially has a convention that the master branch is the release branch, but that is no longer used except for badge URL generation. Also, the practice of using master as the default branch has depreciated in general.
Therefore, I propose to abolish this convention.
It is enough for the badge URL generation to use the "config.release.branch" or extract the default branch from the output of git remote show origin. I've made those changes.
An unintended side effect of this change is that the generated badge URLs may change, but it is not a critical issue and is acceptable.
Minilla initially has a convention that the master branch is the release branch, but that is no longer used except for badge URL generation. Also, the practice of using master as the default branch has depreciated in general.
Therefore, I propose to abolish this convention.
It is enough for the badge URL generation to use the "config.release.branch" or extract the default branch from the output of
git remote show origin
. I've made those changes.An unintended side effect of this change is that the generated badge URLs may change, but it is not a critical issue and is acceptable.