bszyk/zip-wp

This package is abandoned and no longer maintained. No replacement package was suggested.

Create packaged & versioned WordPress plugin zip.

Maintainers

Details

github.com/bszyk/zip-wp

Source

Issues

Fund package maintenance!
Paypal

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Shell

Type:wordpress-plugin

v0.1.0 2021-11-10 17:23 UTC

This package is auto-updated.

Last update: 2025-07-11 02:00:52 UTC


README

Conveniently build, package, and create a .zip for your WordPress plugin.

Install

composer require bszyk/zip-wp --dev

update your project's composer.json:

 "scripts": {
        "zip-wp": [
            "ZipWP\\ZipWP::run_script"
        ]
    }

To use, run composer zip-wp in the project's root folder.

What it does

Composer package that runs a bash script that:

  1. Gets the plugin slug from the home directory folder name.
  2. Prompts user for the version number.
  3. Creates and/or updates changelog.txt.
    • User may enter multiple lines.
    • To exit, use CTRL D when on a newline.
  4. Runs npm run build.
  5. Gathers all .php files, all content of build and assets folders, and other common files.
  6. Compresses items into ./_releases/VERSION/PLUGIN-SLUG.zip.

You will need to give the .sh permission via chmod 775 et. al.