Upload a ZIP archive to the configured plugin repository.

Usage

wpc plugin:push [options] [--] <artifact>

Arguments

artifact
string
required
Path to the ZIP file to upload.

Options

--message, -m
string
Release notes for this version.
--clean
boolean
Delete the ZIP file after it has been uploaded.

Examples

# Push the plugin archive without message
$ wpc plugin:push dist/my-plugin.zip

# Push the plugin archive with a commit message
$ wpc plugin:push --m "🐛 Fix some bugs" dist/my-plugin.zip

# Push the plugin archive and clean previous versions
$ wpc plugin:push --clean dist/my-plugin.zip