Closed aboritskiy closed 3 years ago
@aboritskiy ... Fixed
@srenon thx for quick fix.
I still recommend to consider removing version from composer.json, cause it is per official composer recommendation. I couldn't find the place where composer recommends it when I was opening the issue, but now I found it:
Optional if the package repository can infer the version from somewhere, such as the VCS tag name in the VCS repository. In that case it is also recommended to omit it.
Magento version #:
not magento specific, problem has to do with composer.
Edition (EE, CE, OS, etc):
Expected behavior:
can install any tagged version from github.
Actual behavior:
can not install 2.8.6
Steps to reproduce:
try to do
composer require "magepal/magento2-gmailsmtpapp" "^2.8.6"
it won't work, cause composer.json has version2.8.5
in it.suggestion: please remove the module version from composer.json, see https://github.com/magepal/magento2-gmail-smtp-app/blob/master/composer.json#L25
see also https://getcomposer.org/doc/articles/versions.md