added version log in updater
This commit is contained in:
@@ -87,6 +87,7 @@ VERSION="$($PHP_BIN -r '$c=json_decode(file_get_contents("composer.json"), true)
|
||||
BUILD="$($PHP_BIN -r '$c=json_decode(file_get_contents("composer.json"), true); echo $c["build"] ?? "";')"
|
||||
|
||||
if [[ -n "$VERSION" || -n "$BUILD" ]]; then
|
||||
echo "Updating settings version/build (VERSION=$VERSION, BUILD=$BUILD)..."
|
||||
$PHP_BIN -r '
|
||||
require "vendor/autoload.php";
|
||||
$app = require "bootstrap/app.php";
|
||||
|
||||
Reference in New Issue
Block a user