Skip to main content

Version

npx pressship version patch
npx pressship version minor ./my-plugin
npx pressship version major ./my-plugin

version bumps local plugin metadata from the command line.

It updates:

  • the main plugin file Version: header;
  • the Stable tag: value in readme.txt, when a readme exists.

Examples:

# 1.2.3 -> 1.2.4
npx pressship version patch

# 1.2.3 -> 1.3.0
npx pressship version minor ./my-plugin

# 1.2.3 -> 2.0.0
npx pressship version major ./my-plugin