wp-release: commands
Read from the source of wp-release at v1.0.1.
Command line
build → check → deploy-wporg → release-github, stopping at the first failure
Usage of mmwp-release all | Usage |
mmwp-release all |
Options of mmwp-release all | Argument | Description |
--fail-if-unapproved | Exit 32 when the plugin has no wordpress.org SVN repository yet |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/AllCommand.php#L23↗(opens in a new tab).
Command line
Build dist/<slug>/ and <slug>.zip and validate them
Usage of mmwp-release build | Usage |
mmwp-release build |
Options of mmwp-release build | Argument | Description |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/BuildCommand.php#L22↗(opens in a new tab).
Command line
Run Plugin Check against the built zip in a throwaway WordPress site
Usage of mmwp-release check | Usage |
mmwp-release check |
Options of mmwp-release check | Argument | Description |
--strict | Fail on Plugin Check warnings too (MMWP_PCP_STRICT=true) |
--allow=<allow> | Allow Plugin Check WARNINGs matching this regex; repeatable (MMWP_PCP_ALLOW) |
--deps=<deps> | wordpress.org slugs (space/comma separated) installed and activated before the plugin; overrides MMWP_BROWSER_DEPS |
--self-test | Also run `wp mmwp self-test <slug>` when provided |
--keep | Keep the temp WordPress site |
--db=<db> | sqlite (default) or mysql (MMWP_DB_HOST/USER/PASS/NAME) |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/CheckCommand.php#L54↗(opens in a new tab).
Command line
Publish the built plugin to wordpress.org SVN (idempotent)
Usage of mmwp-release deploy-wporg | Usage |
mmwp-release deploy-wporg |
Options of mmwp-release deploy-wporg | Argument | Description |
--fail-if-unapproved | Exit 32 when the plugin has no wordpress.org SVN repository yet |
--strict | Also require 0 warnings in plugin-check.json |
--allow=<allow> | Allow Plugin Check WARNINGs matching this regex when re-checking; repeatable (MMWP_PCP_ALLOW) |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/DeployWporgCommand.php#L37↗(opens in a new tab).
Command line
Create the GitHub Release for the header version (idempotent)
Usage of mmwp-release release-github | Usage |
mmwp-release release-github |
Options of mmwp-release release-github | Argument | Description |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/ReleaseGithubCommand.php#L22↗(opens in a new tab).
Command line
Show versions, published state and what the deploy commands would do
Usage of mmwp-release status | Usage |
mmwp-release status |
Options of mmwp-release status | Argument | Description |
--dry-run | Do not publish anything (deploy-wporg stops before svn commit) |
--debug-mode | Verbose output (command output, table format) |
--force | Skip the passing-check gate |
--path=<path> | Plugin root (default: current directory) |
--format=<format> | Output format: table|json |
--slug=<slug> | Plugin slug (default: MMWP_SLUG or main plugin file) |
Registered in src/Command/StatusCommand.php#L22↗(opens in a new tab).