From 6c3909f5ecdfc3413f7ae799177cb6be69d9bc71 Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Wed, 10 Mar 2021 11:32:29 +0100 Subject: [PATCH] Updated SVN Release Guide (markdown) --- SVN-Release-Guide.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/SVN-Release-Guide.md b/SVN-Release-Guide.md index 37c5507..9806b35 100644 --- a/SVN-Release-Guide.md +++ b/SVN-Release-Guide.md @@ -8,12 +8,17 @@ Subversion is for release control, not development. This Git repo, hosted on Git # Pushing Code to the WP Plugin Directory -1. Copy the SVN repo. locally (`svn co https://plugins.svn.wordpress.org/footnotes/ footnotes-svn`) -1. Enter the folder (`cd footnotes-svn`) -1. Copy over the files from your local copy of this repo. (**make sure you have checked out the `main` branch**) into the `trunk/` directory - 1. **MAKE SURE THAT THE ‘Stable Tag’ FIELD IN `trunk/readme.txt` IS THE LATEST RELEASE VERSION, NOT DEVELOPMENT** -1. View the changes (`svn stat`) +1. Copy the SVN repo. locally (`svn co https://plugins.svn.wordpress.org/footnotes/ footnotes-svn`); +1. Enter the folder (`cd footnotes-svn`); +1. Copy over the files from your local copy of this repo. (**make sure you have checked out the `main` branch**) into the `trunk/` directory; + 1. **MAKE SURE THAT THE ‘Stable Tag’ FIELD IN `trunk/readme.txt` IS THE LATEST RELEASE VERSION, NOT DEVELOPMENT!** +1. View the changes (`svn stat`); 1. If you are adding/removing any files, make sure you add them to/remove them from tracking using `svn add`/`svn rm` -1. Commit your changes (`svn ci -m ""`) -1. Pull down another copy of the repo. to test locally -1. When the new version is ready for release, update the ‘Stable Tag’ field in `trunk/readme.txt` and the WP Plugin Directory will automatically handle the release. \ No newline at end of file +1. Commit your changes (`svn ci -m ""`); +1. Pull down another copy of the repo. to test locally; +1. When the new version is ready for release, update the ‘Stable Tag’ field in `trunk/readme.txt`; +1. Make sure the version number in trunk/footnotes.php is now in sync with the Stable Tag version; +1. Copy trunk/ to its tagged folder: `svn cp trunk tags/`; +1. Commit the release: `svn ci -m $''` + +The WP Plugin Directory will automatically handle the release. \ No newline at end of file