Last active
May 15, 2017 07:56
-
-
Save morganestes/ddd76c6842000bdd7c89 to your computer and use it in GitHub Desktop.
Set up a WordPress site for beta testing with wp-cli.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Install the Beta Tester plugin and set it to "Bleeding Edge" releases. | |
# Note: after installing plugin and setting the option, you may need to visit | |
# the site once before updating core version. | |
wp-beta() { | |
wp plugin install wordpress-beta-tester --activate | |
wp option set wp_beta_tester_stream unstable | |
wp core update | |
wp core version --extra | |
} | |
wp-beta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this Morgan! Have you ever tried it in conjunction with a CI system like travis or codeship?