core-command icon indicating copy to clipboard operation
core-command copied to clipboard

Support beta/rc releases

Open johnbillion opened this issue 1 year ago • 2 comments

Fixes #17.

johnbillion avatar Apr 26 '24 13:04 johnbillion

It would be nice (although not urgent) if we could pick this up again.

I think if beta or rc is passed, we can fetch the latest offerings from https://api.wordpress.org/core/version-check/1.7/?channel=development to see if there's a matching release.

For that we need to update the WpOrgApi here to add a $channel arg:

https://github.com/wp-cli/wp-cli/blob/3ca317ad8b50ebaf9580373a383490a82b768f4a/php/WP_CLI/WpOrgApi.php#L129-L177

Then we can use that class here

swissspidy avatar May 13 '25 08:05 swissspidy

If someone wants to take this over be my guest. See #17 for some more recent discussion and linked meta issues.

johnbillion avatar May 13 '25 09:05 johnbillion