Deploy a wordress plugin from within GIT to's SVN repository
Switch branches/tags
Nothing to show
Pull request Compare This branch is 9 commits ahead of deanc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Wordpress Plugin Deployment

  1. Initialise your git repository using 'git init' in your wordpress plugin directory (e.g. /path/to/wordpress/wp-content/plugins//
  2. Preferably create a project on github and push your project there.
  3. Clone this deploy-thing somewhere and go there.
  4. Run


If no options are specified, the script will prompt for your input.

  • -n Plugin name What's the name of your plugin?
  • -s SVN remote Where's your SVN repository?
  • -m SVN message [optional] A message for the subversion commit (default: Updating with version %s)
  • -u SVN username [optional] Subversion remote username
  • -p SVN password [optional] Subversion remote password
  • -g Git remote Where's your git repository?
  • -c Git commit [optional] If you want to commit a specified commit


./ -n my-awesome-plugin -s -g


This deployment script does everything. Once it's run your plugin will be updated on wordpress and pushed out to all your users. So make sure your code is ready and tested and that you have increase the version numbers in your files :)