-
Clone:
git clone https://github.com/mustafauysal/deploy-from-git.git
-
Define alias or, export path
alias plugin-deploy='sh ~/deploy-from-git/plugin-deploy.sh'
alias plugin-tag='sh ~/deploy-from-git/plugin-tag.sh'
-
Change WordPress.org svn username SVN_USERNAME and DEST_DIR in
plugin-deploy.sh
file -
Run
plugin-deploy
command in your plugin's git repo -
Have fun, and remember to use
plugin-tag 1.0.1
for tagging.
- Scribu for original script – http://scribu.net/blog/deploying-from-git-to-svn.html