From 18679b66ed0890dca44ee1acd67610328e4beb3b Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 5 Jun 2023 08:58:15 +0200 Subject: [PATCH 1/2] Update Composer lock file --- composer.json | 2 +- composer.lock | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index da102c39..6db50a5c 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "wp-cli/shell-command": "^2", "wp-cli/super-admin-command": "^2", "wp-cli/widget-command": "^2", - "wp-cli/wp-cli": "dev-main" + "wp-cli/wp-cli": "^2.8.1" }, "require-dev": { "roave/security-advisories": "dev-latest", diff --git a/composer.lock b/composer.lock index bb300668..398161ed 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "130f1d131d18a8bd8e7383ab095a9314", + "content-hash": "9b7c059056029d4022cd606c02ddd7b3", "packages": [ { "name": "composer/ca-bundle", @@ -3631,16 +3631,16 @@ }, { "name": "wp-cli/wp-cli", - "version": "dev-main", + "version": "v2.8.1", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "d38c166d3dc86d57e6d0a93fe75a6a916dcea1b9" + "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/d38c166d3dc86d57e6d0a93fe75a6a916dcea1b9", - "reference": "d38c166d3dc86d57e6d0a93fe75a6a916dcea1b9", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/5dd2340b9a01c3cfdbaf5e93a140759fdd190eee", + "reference": "5dd2340b9a01c3cfdbaf5e93a140759fdd190eee", "shasum": "" }, "require": { @@ -3663,7 +3663,6 @@ "ext-readline": "Include for a better --prompt implementation", "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" }, - "default-branch": true, "bin": [ "bin/wp", "bin/wp.bat" @@ -3698,7 +3697,7 @@ "issues": "https://github.com/wp-cli/wp-cli/issues", "source": "https://github.com/wp-cli/wp-cli" }, - "time": "2023-06-03T08:07:34+00:00" + "time": "2023-06-05T06:55:55+00:00" }, { "name": "wp-cli/wp-config-transformer", @@ -6922,7 +6921,6 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "wp-cli/wp-cli": 20, "roave/security-advisories": 20 }, "prefer-stable": true, From e646975923cdaa26fb82f10bee30172d3df70b4e Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 5 Jun 2023 09:17:00 +0200 Subject: [PATCH 2/2] Add executable bit to DEB build version --- utils/wp-cli-updatedeb.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/wp-cli-updatedeb.sh b/utils/wp-cli-updatedeb.sh index 094e3616..dd11c98e 100755 --- a/utils/wp-cli-updatedeb.sh +++ b/utils/wp-cli-updatedeb.sh @@ -79,6 +79,7 @@ fi # move phar mv ../wp-cli.phar usr/bin/wp +chmod +x usr/bin/wp # get version WPCLI_VER="$(usr/bin/wp cli version | cut -d " " -f 2)"