Skip to content

Commit

Permalink
bin/shpala version fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
127 committed Dec 19, 2019
1 parent 47a05c2 commit 0c11354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/shpala/shpala.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
class Shpala {
public $version = '1.1.6';
public static $version = '1.1.6';
protected $_config = [];
protected $_i18n = [];
protected $_router;
Expand Down
3 changes: 2 additions & 1 deletion lib/tasks/task_version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php
echo system("git describe --exact-match --tags $(git log -n1 --pretty='%h')");
echo "Shpala version: v" .Shpala::$version."\n";
// echo system("git describe --exact-match --tags $(git log -n1 --pretty='%h')");
?>

0 comments on commit 0c11354

Please sign in to comment.