wp-cli: Update to version 2.5.0

This commit is contained in:
Jakub Čábera 2021-05-19 09:40:50 -07:00
parent e32dc1f130
commit a697769c2e

View File

@ -1,5 +1,5 @@
{ {
"version": "2.4.0", "version": "2.5.0",
"description": "Command-line interface for WordPress", "description": "Command-line interface for WordPress",
"homepage": "https://wp-cli.org", "homepage": "https://wp-cli.org",
"license": "MIT", "license": "MIT",
@ -10,8 +10,8 @@
"php-nts" "php-nts"
] ]
}, },
"url": "https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar#/wp-cli.phar", "url": "https://github.com/wp-cli/wp-cli/releases/download/v2.5.0/wp-cli-2.5.0.phar#/wp-cli.phar",
"hash": "sha512:4049c7e45e14276a70a41c3b0864be7a6a8cfa8ea65ebac8b184a4f503a91baa1a0d29260d03248bc74aef70729824330fb6b396336172a624332e16f64e37ef", "hash": "sha512:08dd9035fda1d529807380d5b757839e2809e289eb1a698fe33e7e21a1431d3f77c551c2b2db5adc55083d5075ea4137407994111890f765e790a97e6d9ca7af",
"pre_install": [ "pre_install": [
"echo 'if($args.length -eq 2 -and ($args[0] -eq \"cli\" -and $args[1] -eq \"update\")) { & scoop update wp-cli }' | out-file \"$dir\\wp.ps1\"", "echo 'if($args.length -eq 2 -and ($args[0] -eq \"cli\" -and $args[1] -eq \"update\")) { & scoop update wp-cli }' | out-file \"$dir\\wp.ps1\"",
"echo 'else { & php (join-path $psscriptroot \"wp-cli.phar\") @args }' | out-file \"$dir\\wp.ps1\" -append" "echo 'else { & php (join-path $psscriptroot \"wp-cli.phar\") @args }' | out-file \"$dir\\wp.ps1\" -append"