Skip to content
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

Remove explicit version from composer.json #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fredden
Copy link

@fredden fredden commented Aug 3, 2020

Compare https://github.com/PCAPredict/magento2/tags with https://packagist.org/packages/pcapredict/tag and note that v2.1.0 exists in the former but not the latter.

Packagist.org will parse the git tag and use this as version. As git tag v2.1.0 claims to also be version 2.0.9 (see https://github.com/PCAPredict/magento2/blob/v2.1.0/composer.json#L22), this version is not recognised by packagist. Removing the version string from composer.json will avoid this problem going forward.

Update: versions 2.0.9 and 2.0.9.1 are also unavailable for the same reason as stated above.

Fixes: #33
Fixes: #36
Replaces: #37

Composer/packagist will parse the git tag and use this as version. Defining the
same here requires careful management, which is not currently being done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.0.9 and 2.1.0 not available using composer Composer installation fails for PHP 7.3
1 participant