Release
npx pressship release ./my-plugin --slug my-plugin
WordPress.org initial review uses a zip upload. Approved plugin releases use SVN. release keeps the approved-plugin workflow explicit and is equivalent to publish --release.
If svn is missing, Pressship detects your operating system and package manager, then asks before installing Subversion. Use --no-install-svn when you want it to fail with manual install instructions instead.
release will:
- verify the plugin with readme validation and Plugin Check;
- checkout or update
https://plugins.svn.wordpress.org/<slug>; - confirm the local version has not already been released as
tags/<version>; - sync packaged plugin files into
trunk/; - sync
.wordpress-org/into SVNassets/when the folder exists; - create
tags/<version>from trunk; - show
svn status; - ask for confirmation;
- commit the release with a generated WordPress.org SVN password.
Use --no-verify only when you intentionally want to skip readme validation and Plugin Check before committing to SVN.
If the SVN tag already exists, Pressship stops with a “No version change detected” message. Bump the plugin version before publishing again.
When running from a working copy created by pressship get, Pressship uses trunk/ as the plugin directory and the checkout root as the SVN working copy:
npx pressship get my-plugin ./my-plugin
cd ./my-plugin
npx pressship version patch
npx pressship publish
SVN Password
Pressship infers the SVN username from the saved WordPress.org login when possible. If no SVN password has been saved yet, it will direct you to:
https://profiles.wordpress.org/<username>/profile/edit/group/3/?screen=svn-password
Generate the password there, paste it into Pressship once, and it will be saved locally at ~/.config/pressship/svn-credentials.json for future release commits.
Options
npx pressship release ./my-plugin --slug my-plugin
npx pressship release ./my-plugin --version 1.2.3
npx pressship release ./my-plugin --username WpOrgUser
npx pressship release ./my-plugin --message "Release 1.2.3"
npx pressship release ./my-plugin --wp-path /path/to/wordpress
npx pressship release ./my-plugin --ignore "assets/**/*.mp4"
npx pressship release ./my-plugin --dry-run
npx pressship release ./my-plugin --no-verify
npx pressship release ./my-plugin --yes
npx pressship release ./my-plugin --no-install-svn