deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.41k stars 1.47k forks source link

Shopware recipe always updates all plugins #3811

Open TimWuyts opened 2 months ago

TimWuyts commented 2 months ago

I've noticed that the "sw:plugin:update:all" task for the Shopware recipe is always updating all plugins, not taking into account the "upgradeVersion" field correctly. Whenever this field is set to a null value, the update is still triggered.

https://github.com/deployphp/deployer/blob/a8a16c755ea5062510f6b519f0e63123a5abd1ea/recipe/shopware.php#L117

Upvote & Fund

Fund with Polar

Schrank commented 2 months ago

That sounds like a shopware problem to me and the command should be fixed in the core :-)

UlrichThomasGabor commented 2 months ago

Shopware has prepared a shopware/deployment-helper, which could render that custom code of the recipe obsolet, see the demo code by @shyim.