-
Notifications
You must be signed in to change notification settings - Fork 769
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
Adding branch alias to composer.json #44
Conversation
…ter version. See [Aliases](https://getcomposer.org/doc/articles/aliases.md) for more information.
], | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "5.2.x-dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already outdated and should be raised up to 5.4.x-dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you I will update it.
thanks - we'll look into this. |
@onema btw - is this intended for ppl referring to dev-master version? |
Sorry I never got back to you. Yes. This is to prevent issues when you want to use the Quoting the composer documentation:
See Aliases for more information. |
Update branch alias version to 5.4.x-dev
@onema I'd prefer not to depending on dev-master and should probably choose a version to use. |
@saturnism It is great that you don't want to depend on dev-master! But If you look at your packagist page, the main section will have you use dev-master. To prevent this from happening you use a branch alias which will make your master branch semver friendly, take a look at the _google apiclient_ for example: This is considered a best practice and you should consider adding it to the project. Take a look at Beau Simens presentation on Composer and semantic versioning for more info. Also see Composer Stability Flags |
Adding branch alias to prevent version conflict when using latest master version. See Aliases for more information.