kellerkinderDE / K10rDeployment

MIT License
13 stars 2 forks source link

\Shopware::VERSION not available #9

Closed Laemmi closed 2 years ago

Laemmi commented 3 years ago

In command "K10rUpdateNeededCommand" the constant "\Shopware::VERSION" not available. I think since Showare version 5.6 My idea:

        if ($this->getContainer()->hasParameter('shopware.release.version')) {
            $currentVersion = $this->getContainer()->getParameter('shopware.release.version');
        } else {
            $currentVersion = \Shopware::VERSION;
        }
sobyte commented 2 years ago

Thank you for this issue @Laemmi

We've fixed this with version 1.3.0 which was released at the moment