Here's the error I get from packagist when updating a pacakge:
Importing branch 2.x-dev (dev-2.x-dev)
Skipped branch 2.x-dev, Invalid
package information: extra.branch-alias.dev-master : the target branch (2.x) must end in -dev
The branch is named "2.x" - Can anyone explain what is wrong with the branch name?
I've also tried naming branches "2.x-dev" and "2.0"
Here's the package: https://packagist.org/packages/messageagency/force.com-toolkit-for-php
Alias defined in composer.json
is incorrect - it must end with -dev
, so you should use something like "dev-master": "2.x-dev"
instead of "dev-master": "2.x"
.
See documentation of branch aliases: https://getcomposer.org/doc/articles/aliases.md#branch-alias