[wp-hackers] GitHub + plugins.svn.wordpress.org
Steve Taylor
steve at sltaylor.co.uk
Tue Jul 3 22:03:15 UTC 2012
Just discussed this at the London wp-hooked meetup, and I think what
I'm going to do is either convert one of the .sh scripts around to
.bat (a useful exercize in learning what it's actually doing, if it
can be converted), or get Cygwin going and go that route. Either way,
I'll post something on my blog that will hopefully plug the gap out
there for people who are looking to do what I'm doing but are as
confused as I was checking out the options posted out there.
Git deployment hooks were mentioned at the meetup, I'll probably check
those out too.
Thanks for all your hints!
On 3 July 2012 13:28, Simon Dunton - WP Sites <simon at wpsites.co.uk> wrote:
> Nothing, that script is 99% like the one I'm using. I've since found a few variations of that same script.
>
> To me every other approach seemed too complicated. I didn't want to use SVN at all and using one of these scripts took care of that for me.
>
> If you really wanted to automate this process you could probably put the deploy script on a Linux server somewhere and create a post-receive hook in Github so that when a commit is made Github generates a request to a PHP file on your linux server which then executes the .sh script. Obviously you wouldn't want to deploy every commit to WP.org SVN so you'd want to make your PHP post-receive hook check the most recent commit message includes some text like "... release" or some other keywords that you decide upon that give your script the go-ahead to deploy to git.
>
>
> On 3 Jul 2012, at 13:00, wp-hackers-request at lists.automattic.com wrote:
>
>> What I wasn't getting was the difference between your deployment
>> script and the other approaches
>> (http://thereforei.am/2011/04/21/git-to-svn-automated-wordpress-plugin-deployment/
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list