added version log in updater
This commit is contained in:
@@ -98,5 +98,5 @@
|
|||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"version": "26.0.2",
|
"version": "26.0.2",
|
||||||
"build": "67"
|
"build": "68"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"] ?? "";')"
|
BUILD="$($PHP_BIN -r '$c=json_decode(file_get_contents("composer.json"), true); echo $c["build"] ?? "";')"
|
||||||
|
|
||||||
if [[ -n "$VERSION" || -n "$BUILD" ]]; then
|
if [[ -n "$VERSION" || -n "$BUILD" ]]; then
|
||||||
|
echo "Updating settings version/build (VERSION=$VERSION, BUILD=$BUILD)..."
|
||||||
$PHP_BIN -r '
|
$PHP_BIN -r '
|
||||||
require "vendor/autoload.php";
|
require "vendor/autoload.php";
|
||||||
$app = require "bootstrap/app.php";
|
$app = require "bootstrap/app.php";
|
||||||
|
|||||||
Reference in New Issue
Block a user