FriendsOfShopware / shopware-cli

CLI for Shopware Account and Shopware 6
MIT License
81 stars 32 forks source link

fix: determine shopware project version regardless of setup #318

Closed shyim closed 7 months ago

shyim commented 7 months ago

This should cover all edge cases to determine somehow with which Shopware version we are interacting. We want to have a Version Constraint so we try:

So we get at an end a constraint. But we cannot compare a constraint against another constraint. Therefore, we need to resolve the constraint to the min version of Shopware. And with that version we do version comparison, if something is available.

image