Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shopware recipe always updates all plugins #3811

Open
TimWuyts opened this issue Apr 17, 2024 · 2 comments
Open

Shopware recipe always updates all plugins #3811

TimWuyts opened this issue Apr 17, 2024 · 2 comments

Comments

@TimWuyts
Copy link

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.

if ($plugin->installedAt && $plugin->upgradeVersion) {

@Schrank
Copy link
Contributor

Schrank commented Apr 17, 2024

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

@UlrichThomasGabor
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants