Skip to content

Commit

Permalink
Add project hash to stats
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Feb 26, 2017
1 parent fa05a68 commit 8ef6842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Deployer.php
Expand Up @@ -293,6 +293,7 @@ public function collectAnonymousStats(CommandEvent $commandEvent)
$stats = [
'status' => 'success',
'command_name' => $commandEvent->getCommand()->getName(),
'project_hash' => empty($this->config['repository']) ? null : sha1($this->config['repository']),
'servers_count' => $this->servers->count(),
'deployer_version' => $this->getConsole()->getVersion(),
'deployer_phar' => $this->getConsole()->isPharArchive(),
Expand Down

0 comments on commit 8ef6842

Please sign in to comment.