Skip to content

Commit

Permalink
Always store new shopware version when it is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AydinHassan committed Sep 4, 2024
1 parent e4c946d commit d00749f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Service/ShopUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public function run(string $shopId, string $toVersion): void
if (null === $shop) {
throw new \RuntimeException(sprintf('Shop with id "%s" not found', $shopId));
}

$shop->shopVersion = $toVersion;
$this->shopRepository->updateShop($shop);

$app = $this->appSelector->select($toVersion);

Expand Down

0 comments on commit d00749f

Please sign in to comment.