We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7f648 commit 81fa7dcCopy full SHA for 81fa7dc
VERSION
@@ -0,0 +1 @@
1
+1.2.0-pl
application.php
@@ -70,9 +70,7 @@
70
use modmore\Gitify\Command\UpgradeModxCommand;
71
use modmore\Gitify\Gitify;
72
73
-$composerData = file_get_contents(__DIR__ . "/composer.json");
74
-$composerData = json_decode($composerData, true);
75
-$version = $composerData['version'];
+$version = trim(@file_get_contents(__DIR__ . '/VERSION'));
76
77
$application = new Gitify('Gitify', $version);
78
$application->add(new InitCommand);
0 commit comments