Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support beta/rc releases #260

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

johnbillion
Copy link
Contributor

Fixes #17.

Comment on lines +1154 to 1156
|| 'beta' === $assoc_args['version']
|| 'rc' === $assoc_args['version']
|| 'nightly' === $assoc_args['version']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use in_array here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep could do. I try to touch as few lines as possible, at least to begin with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce --version=beta argument for updating to latest WordPress beta
2 participants