wp-release: commands

Read from the source of wp-release at v1.0.1.

Command line

mmwp-release all

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
ArgumentDescription
--fail-if-unapprovedExit 32 when the plugin has no wordpress.org SVN repository yet
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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

mmwp-release build

Build dist/<slug>/ and <slug>.zip and validate them

Usage of mmwp-release build
Usage
mmwp-release build
Options of mmwp-release build
ArgumentDescription
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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

mmwp-release check

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
ArgumentDescription
--strictFail 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-testAlso run `wp mmwp self-test <slug>` when provided
--keepKeep the temp WordPress site
--db=<db>sqlite (default) or mysql (MMWP_DB_HOST/USER/PASS/NAME)
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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

mmwp-release deploy-wporg

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
ArgumentDescription
--fail-if-unapprovedExit 32 when the plugin has no wordpress.org SVN repository yet
--strictAlso require 0 warnings in plugin-check.json
--allow=<allow>Allow Plugin Check WARNINGs matching this regex when re-checking; repeatable (MMWP_PCP_ALLOW)
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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

mmwp-release release-github

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
ArgumentDescription
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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

mmwp-release status

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
ArgumentDescription
--dry-runDo not publish anything (deploy-wporg stops before svn commit)
--debug-modeVerbose output (command output, table format)
--forceSkip 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).