Build WordPress Plugin on Travis CI and Release It on GitHub
Today I wrote a small shell script that builds a WordPress plugin on Travis CI.
https://github.com/miya0001/auto-build
It does following.
- Removes unused files which are listed in
.distignore
. - Create a zip archive of the plugin.
If you use it with following project, it will update your plugin for your client automatically.
https://github.com/miya0001/gh-auto-updater
Following is an example. 🙂
https://github.com/miya0001/miya-gallery
I tried it for a few days, it looks woking fine as expected.