roots / wordpress

Automatically updated WordPress Composer package
https://roots.io/composer-wordpress-resources/
MIT License
167 stars 17 forks source link

Bug: Beta and RC versions do not seem to be available #46

Closed nextgenthemes closed 1 year ago

nextgenthemes commented 1 year ago

Terms

Description

What's wrong?

I am trying to install WP 6.2.0-RC4 but its not there.

What have you tried?

composer show -a roots/wordpress           
name     : roots/wordpress
descrip. : WordPress is web software you can use to create a beautiful website or blog.
keywords : blog, cms, wordpress
versions : 6.1.1, 6.1, 6.0.3, .... 3.7.38, dev-main, * dev-nightly

This has dev-main and dev-nightly. Both install 6.3-alpha-55584

What insights have you gained?

because roots/wordpress-no-content is required and it has only dev-main and no dev-nightly but it seems that its pulled from wp nighty, trunk or whatever they call it.

There should be a branch for the latest beta and RC releases IMO. I ran into this issue b4. In a few days 6.2 it ready anyway but I like to try beta versions in the future.

Possible solutions

Something like dev-beta in composer. Or the actual version tags for upcoming WP versions.

Temporary workarounds

wp core update --version=6.2-RC4 --force works but it installs all the themes and the default plugins in the wrong directories. So not some kind of no-content version and it does not play nice with the Bedrock folder structure.

Steps To Reproduce

  1. Set to dev-main in composer
  2. composer update
  3. see latest alpha installed instead of beta/rc

Expected Behavior

beta

Actual Behavior

alpha

Relevant Log Output

No response

Versions

6.1.1

LeoColomb commented 1 year ago

Duplicate of https://github.com/roots/wordpress-no-content/issues/4

In short: