Composer fails to replace wp plugin when version has more than 3 parts.
acalvino4 opened this issue · 1 comments
acalvino4 commented
I have two wordpress plugins that have version numbers with 4 parts, i.e. 0.8.8.6 and 1.9.5.7.
When I update my composer.json
with a new version, then run composer update
my composer.lock
is successfully updated, but the plugin in my wp-content/plugins
directory isn't actually replaced with the new version.
When no plugin exists (or if I rename or delete the old version) the new version IS correctly installed.
I'm pretty sure this is an installers
issue, but I definitely could be wrong, so if I need to file this on the main composer page, or elsewhere, just let me know.
acalvino4 commented
I updates my installers version from 1.0.1
to 1.12.0
and I think it fixed this issue.