You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run composer install version numbers are added. If I run it again, rollbackRewrite() removes the version numbers but they do not get added back again. I think this is because neither POST_PACKAGE_INSTALL nor POST_PACKAGE_UPDATE get run for packages that do not need to be changed on the subsequent run of composer install.
The text was updated successfully, but these errors were encountered:
This can be solved by having a method which runs on POST_INSTALL_CMD and POST_UPDATE_CMD which rollbackRewrite() but calls doWriteInfoFiles() instead of doRollback(). I've tested this and it works. Would you like me to write up a pull request with this?
If I run
composer install
version numbers are added. If I run it again, rollbackRewrite() removes the version numbers but they do not get added back again. I think this is because neither POST_PACKAGE_INSTALL nor POST_PACKAGE_UPDATE get run for packages that do not need to be changed on the subsequent run ofcomposer install
.The text was updated successfully, but these errors were encountered: