From 3d7304a0fe8ea757bcb4515c36ffd87491c9baac Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Mon, 9 Sep 2024 14:25:12 -0700 Subject: [PATCH] Version never up to date (#35) * Version never up to date * normalize version --- src/SelfUpdateManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SelfUpdateManager.php b/src/SelfUpdateManager.php index 5bc5e73..ec4abe4 100644 --- a/src/SelfUpdateManager.php +++ b/src/SelfUpdateManager.php @@ -25,6 +25,7 @@ class SelfUpdateManager * which isn't available at this point in the Symfony bootstrap. */ public function __construct(public string $applicationName, public string $currentVersion, public string $gitHubRepository){ + $this->currentVersion = (new VersionParser())->normalize($this->currentVersion); } /**