deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Shopware recipe always updates all plugins

Open TimWuyts opened this issue 1 year ago • 2 comments
trafficstars

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

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

TimWuyts avatar Apr 17 '24 11:04 TimWuyts

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

Schrank avatar Apr 17 '24 11:04 Schrank

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

UlrichThomasGabor avatar Apr 18 '24 13:04 UlrichThomasGabor

This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.

Read more: [https://github.com/deployphp/deployer/discussions/3888]

github-actions[bot] avatar Sep 09 '24 20:09 github-actions[bot]

This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.

Read more: [https://github.com/deployphp/deployer/discussions/3888]

github-actions[bot] avatar Sep 09 '24 20:09 github-actions[bot]