Skip to content

Commit

Permalink
revert git version
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubuc committed Aug 22, 2016
1 parent 5d7997f commit 90d57c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/plugins/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function preDispatch(Zend_Controller_Request_Abstract $request)
$view->revision_prevarisc = getenv('PREVARISC_REVISION');
$view->version_prevarisc = getenv('PREVARISC_BRANCH').'.'.getenv('PREVARISC_REVISION');
} else {
$git = new SebastianBergmann\Git\Git(APPLICATION_PATH . DS . '..');
$git = new SebastianBergmann\Git(APPLICATION_PATH . DS . '..');
$view->branch_prevarisc = $git->getCurrentBranch();
$revisions = $git->getRevisions();
$last_revision = end($revisions);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"michelf/php-markdown": "^1.0",
"kdubuc/gd_resize": "^1.0",
"SDIS62/toolbox": "dev-master",
"sebastian/git": "^2.0",
"sebastian/git": "^1.0",
"sabre/vobject": "^4.0"
},

Expand Down

0 comments on commit 90d57c0

Please sign in to comment.