I am trying to host my magento 2 extensions in a bitbucket repository.
each extension will be a branch of that repository. The problem is that, we need to create tag for particular version of the extension as the composer takes tag as version in composer require vendor/module:<version>
, and the tags can not be duplicated, so if there are two extensions with same version, it will not work. There needs to be single repository to avoid adding new repository to composer to install a new extension every time.
And we need to have version to be comparable
as the magento composer.json has minimum-stability
defined as alpha
.