Skip to content

Commit

Permalink
consolidation#497 Fix: Add Basic Self Update Functionality: Add GitHu…
Browse files Browse the repository at this point in the history
…b Repo to messages / API call
  • Loading branch information
amenk committed Sep 2, 2017
1 parent 4355350 commit 8edc5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SelfUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function getLatestReleaseFromGithub()
'http' => [
'method' => 'GET',
'header' => [
'User-Agent: ' . Robo::APPLICATION_NAME . ' Self-Update (PHP)'
'User-Agent: ' . Robo::APPLICATION_NAME . ' (' . $this->gitHubRepository . ')' . ' Self-Update (PHP)'
]
]
];
Expand Down Expand Up @@ -120,7 +120,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

$fs = new sfFilesystem();

$output->writeln('Downloading ' . Robo::APPLICATION_NAME . ' ' . $latest);
$output->writeln('Downloading ' . Robo::APPLICATION_NAME . ' (' . $this->gitHubRepository . ')' . $latest);

$fs->copy($downloadUrl, $tempFilename);

Expand Down

0 comments on commit 8edc5f2

Please sign in to comment.