added more flibiliy for versions, added dry-run option
This commit is contained in:
commit
154bd410a4
|
@ -119,7 +119,7 @@ class UpdateController
|
|||
|
||||
echo "Highest Stable Version: $highestStableVersion" . PHP_EOL;
|
||||
if (!$this->dryRun) {
|
||||
echo "Installed Version: $installedVersion" . PHP_EOL;
|
||||
echo 'Installed Version: '. $this->installedVersion . PHP_EOL;
|
||||
}
|
||||
|
||||
[$major, $minor, $patch] = explode(separator: '.', string: $stableVersions[$highestStableVersion]['current']);
|
||||
|
|
|
@ -21,7 +21,7 @@ Then: Install composer (https://getcomposer.org/download/) and run
|
|||
`composer install`
|
||||
|
||||
followed by:
|
||||
`php update.php`
|
||||
`php update.php` or `/update.php`
|
||||
|
||||
If you are using KeyHelp, replace
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/keyhelp-php81 -d apc.enable_cli=1
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
use App\UpdateController;
|
||||
|
|
Loading…
Reference in New Issue