Skip to content

Commit d945886

Browse files
committed
Updater updated
1 parent 2cca2b8 commit d945886

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ before_install:
1818
- phpenv config-rm xdebug.ini
1919
- composer self-update
2020

21+
script:
22+
- echo "No test.\n"
23+
2124
install:
2225
- travis_retry composer install --no-interaction --no-dev --optimize-autoloader --classmap-authoritative
2326
- composer info -i

src/UpdateCommand.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ protected function configure()
4040
protected function execute(InputInterface $input, OutputInterface $output)
4141
{
4242
$updater = new Updater();
43-
$updater->setStrategy(Updater::STRATEGY_GITHUB);
44-
$updater->getStrategy()->setPackageName('web-token/jwt-app');
45-
$updater->getStrategy()->setPharName('jose');
46-
$updater->getStrategy()->setCurrentLocalVersion('1.0.0');
43+
$updater->getStrategy()->setPharUrl('https://github.com/web-token/jwt-app/blob/gh-pages/jose.phar');
44+
$updater->getStrategy()->setVersionUrl('https://github.com/web-token/jwt-app/blob/gh-pages/jose.phar.version');
4745

4846
try {
4947
$result = $updater->update();

0 commit comments

Comments
 (0)