- Make sure docker is installed and configured
- Checkout the branch
- Run
./dev up
- Add the following to your /etc/hosts file:
127.0.0.1 rgconnect.test
- Verify the site is accessible at http://rgconnect.test
- Configure the plugin in http://rgconnect.test/wp-admin accordingly (admin/admin)
- Ensure tests pass by running
./dev test tests
- Update the version number in programs-remote-listings/rs-connect.php on line 6
- Update the $plugin_version near the top of programs-remote-listings/rs-connect.php
- Edit the changelog in programs-remote-listings/readme.txt with the same version number
- Commit.
- Merge commit into master.
- Ensure tests are green at https://circleci.com/gh/retreatguru/rbg-connect/tree/master
To deploy the plugin directly to the wordpress repository you will need a wordpress username and password and be an author of the plugin. From Docker shell:
$ ./dev shell
$ cd /var/www/programs-remote-listings
$ bash ./deploy.sh
Then provide your wordpress username, password and a commit message.
*Note: If you get the error message "Access to '/!svn/me' forbidden" just use deryk's credentials which are in 1Password
In about a minute you should see the new version live on the wordpress repository: https://en-ca.wordpress.org/plugins/retreat-booking-guru-connect/