-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Wrong branch for unstable ? #227
Comments
Currently the logic goes to look for the value set for |
No. I already spent too much time looked at the code and couldn't for the life of me figure out where to change it in this repo. If it would have been an obvious change, you would have received a PR already instead of an issue. I haven't looked at the new repo/code yet, but can only do so much. |
I checked the logic. |
I'm wondering how the
unstable
branch is determined.If no aliases RC/beta etc branches are found and no alias is passed via
composer.json
, to me, it looks like this always displaysdev-master
, while for projects using GitFlow,master
will be the stable branch and(dev-)develop
the unstable branch.Could the GitHub API be used to retrieve the
default
branch and display that instead ?The branch name can be retrieved via a call to
GET /repos/:owner/:repo
and looking at the value returned bydefault_branch
.See: https://developer.github.com/v3/repos/#get
Related #174
The text was updated successfully, but these errors were encountered: