pdclark / deploy-plugin-to-wordpress-dot-org Goto Github PK
View Code? Open in Web Editor NEWDeploy a plugin managed in Git to the wordpress.org plugin repository.
Deploy a plugin managed in Git to the wordpress.org plugin repository.
My WP plugin is in a folder called "Dev Projects." Consequently, cd $GITPATH
on line 38 doesn't work. I changed it to cd "$GITPATH"
and it seems to work.
I'd do something officially here on Github, but I'm still new to Github and not sure of the right workflow to suggest a fix.
It would be great if assets dir content from plugins base dir would be added to svn /assets and excluded from /trunk.
It seems like upgrading to Mac OSX Yosemite broke this script / SVN for me. Anyone else having this issue?
Creating local copy of SVN repo ...
../deploy.sh: line 60: 15167 Segmentation fault: 11 svn co $SVNURL $SVNPATH
Exporting the HEAD of master from git to the trunk of SVN
Ignoring github specific files and deployment script
svn: '/tmp/my-plugin-slug/trunk' is not a working copy
Changing directory to SVN and committing to trunk
svn: warning: '.' is not a working copy
svn: '/private/tmp/my-plugin-slug/trunk' is not a working copy
Creating new SVN tag & committing it
svn: Path 'tags' is not a directory
./deploy.sh: line 80: cd: /tmp/my-plugin-slug/tags/1.9.5: No such file or directory
svn: '/private/tmp/my-plugin-slug' is not a working copy
Removing temporary directory /tmp/my-plugin-slug
*** FIN ***
Hey @brainstormmedia,
Nice work on the script. Super handy!
I was thinking of sending over a pull-request but I thought it is probably better to discuss it first.
I had a few issues with the second grep. (https://github.com/brainstormmedia/deploy-plugin-to-wordpress-dot-org/blob/master/deploy.sh#L32) mainly due to my code indenting by two spaces.
`
/*
Plugin Name: Campaign Monitor Dashboard
Version: 1.0.6
...
*/
Might be an idea to add a little section in the readme.md
about how whitespace can cause the grep to fail.
All worked a treat once removed.
Thanks again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.