lacee1986
9/20/2017 - 9:40 AM

Wordpress Plugin Update

How to update Wordpress plugins properly.

https://kinsta.com/blog/publish-plugin-wordpress-plugin-directory/

$ mkdir localdir
$ svn co https://plugins.svn.wordpress.org/plugin-name path/to/localdir

$ svn add trunk/*
$ svn ci -m 'First plugin version'

ASSETS

$ svn add assets/*
$ svn ci -m 'Assets upload'

RELEASE - Copy the files to tag folder and change readme.txt for stable tag

$ svn cp trunk tags/1.0.1
$ svn ci -m "tagging version 1.0.1"

EDIT - Minor edits

$ svn up
$ svn stat
$ svn diff
$ svn ci -m "minor changes"