Skip to content

Commit 3d7304a

Browse files
authored
Version never up to date (#35)
* Version never up to date * normalize version
1 parent 3476c5e commit 3d7304a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SelfUpdateManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class SelfUpdateManager
2525
* which isn't available at this point in the Symfony bootstrap.
2626
*/
2727
public function __construct(public string $applicationName, public string $currentVersion, public string $gitHubRepository){
28+
$this->currentVersion = (new VersionParser())->normalize($this->currentVersion);
2829
}
2930

3031
/**

0 commit comments

Comments
 (0)