sudar / wp-plugin-in-github

Collection of shell scripts that I am using to manage and deploy WordPress Plugins from github into svn
http://sudarmuthu.com/blog/developing-wordpress-plugins-in-github
76 stars 20 forks source link

deploy-plugin.php does not work with empty WP repo #25

Open W3Extensions opened 6 years ago

W3Extensions commented 6 years ago

I wanted to push files to my new wordpress.org repo for the first time. But it turns out deploy-plugin.sh doesn't work unless there are already files in the remote SVN.

So I had to install svn (git-svn isn't very reliable) and create a local repo, copy my plugin files to the local repo and then push to WordPress.org...just so I could then go back to my local git repo to try deploy-plugin.sh (just to make sure it actually works for the next time I need it).

I really like and appreciate this script, but it needs to be a bit more comprehensive.

sudar commented 6 years ago

@W3Extensions

I haven't created a new WordPress plugin in the repo in a while. And honestly I don't think anyone would have used this script with a completely new WordPress.org svn repo.

Can you give me the exact error that you got so that I can try to see if I can fix it?