Update readme#501
Conversation
|
FYI we have an automated workflow that does this regularly. It can also be triggered manually, see https://github.com/wp-cli/entity-command/actions/workflows/regenerate-readme.yml Then you can trigger it manually and even approve it yourself. |
|
@swissspidy Does that action run in cron or something? It seems only |
|
I re-ran the workflow in this repo but it is not detecting the changes. https://github.com/wp-cli/entity-command/actions/runs/9076624244/job/24939743450 |
|
Ah, it's triggered when pushing to the It was triggered for the merge of that new command as well: https://github.com/wp-cli/entity-command/actions/runs/8949960535/job/24584816614 But you're right, it's not working anymore 🤔 Maybe it's the |
|
OK but it is working for wp-cli/admin-command#44? 🤔 Strange! |
|
It did not work for |
|
I am also looking into it. Seems like WP-CLI is not working as expected in find command package. |
|
The dependency issue should have been addressed by wp-cli/scaffold-package-command#243 |
|
@swissspidy Seems like the issue is with the nightly phar file. I run the following commands in the root of [Output]Initially, I donwloaded both the nightly and distributed versions of the |
|
From what I can see the nightly phar is as up-to-date as it can be. The workflow doesn't use the phar though, does it? Just looked at https://github.com/wp-cli/i18n-command/actions/runs/9077866771/job/24943664516 and the issue is that it installs wp-cli/wp-cli 2.10 instead of 2.11 aka dev-main. So we'd need to bump the dependency in i18n-command. |
|
Before that, it installed the nightly phar whose version is curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar
sudo mv wp-cli-nightly.phar /usr/local/bin/wp
sudo chmod +x /usr/local/bin/wp |
|
Your assumption can also be true as I am not sure which wp-cli binary is included when executing the phar. |
|
Hmm that's strange, So definitely something odd going on with dependencies. I'll need to do more testing. Meanwhile, @schlessera perhaps you have some ideas. |
So it is loading some classes from the Phar (which is the nightly and thus has 2.11), but then |
|
Discussion continues in wp-cli/wp-cli#5968 |
Update readme