Skip to content

Commit

Permalink
Disabled signed releases for the "self-udpate" command
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Aug 12, 2015
1 parent 7bd1316 commit 21e6c4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Handler/SelfUpdateCommandHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public function handle(Args $args, IO $io)
$updateStrategy->setPharName('puli.phar');
$updateStrategy->setCurrentLocalVersion(PuliApplicationConfig::VERSION);

$updater = new Updater();
// false: disable signed releases, otherwise the updater will look for
// a *.pubkey file for the PHAR
$updater = new Updater(null, false);
$updater->setStrategyObject($updateStrategy);

if ($updater->update()) {
Expand Down

0 comments on commit 21e6c4e

Please sign in to comment.