- Contributors: bobbingwide, vsgloik
- Donate link: http://www.oik-plugins.com/oik/oik-donate/
- Tags: zip, 7-zip, plugins, package, oik-batch, CLI
- Requires at least: 4.3
- Tested up to: 4.6-RC2
- Stable tag: 0.0.3
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
oik-zip.php packages the source files for a WordPress plugin into a .zip file ready for release to the general public.
The packaging process ensures up to date versions are released
- update the root plugin file
- update the plugin's readme.txt
- checks that banner and icon files are in the assets
- build a new version of the README.md file for GitHub
- update language files, if applicable
- reconcile shared library files
- update the "oik-activation" logic
What it does not do:
- Create minimised versions of .css and .js files
- run Unit Tests
- perform translation
- update the API reference
- Upload the contents of the oik-zip plugin to the `/wp-content/plugins/oik-zip' directory
- Create a batch file called zip.bat to invoke the oik-zip routine, through oik-wp.php from oik-batch
php c:\apache\htdocs\wordpress\wp-content\plugins\oik-batch\oik-wp.php c:\apache\htdocs\wordpress\wp-content\plugins\oik-zip\oik-zip.php %*
Read the code
- 7-ZIP
- an editor
- t2m - convert a readme.txt file to README.md ( https://github.com/bobbingwide/txt2md )
- oik-batch ( https://github.com/bobbingwide/oik-batch )
No. But it may be enabled for use with Composer
Now that I need most of WordPress to do all the things I'm working towards using WP-CLI primarily to handle command line parameters.
It will be, when I've made more progress with the oik-git shared library.
No. Updating the SVN version is currently a manual process performed after creating the .zip and updating GitHub.
- oik-zip in action
Corrected readme files.
Attempts to ensure assets are present. Tested with WordPress 4.6-RC2
Tested with WordPress 4.5-RC1
Finally put under version control. First version of the plugin, available from GitHub and oik-plugins.
- Changed: Corrected descriptions, which had been swapped between oik-tip and oik-zip
- Added: Logic to copy assets files - used for GitHub
- Changed: Assets files are not included in the .zip file
- Changed: Optionally performs language processing, therefore now needs to be run under oik-wp
- Fixed: Copies oik-activation.php from oik/libs rather than oik/admin [github bobbingwide oik-zip issues 2]
- Tested: With WordPress 4.5-RC1
- Added: First version on GitHub