Skip to content

Instantly share code, notes, and snippets.

@damianwajer
Last active June 2, 2022 20:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damianwajer/4fe7a812425492a6272052210bddb3a1 to your computer and use it in GitHub Desktop.
Save damianwajer/4fe7a812425492a6272052210bddb3a1 to your computer and use it in GitHub Desktop.
[WordPress] Update "tested up to" value for WordPress plugin with SVN | https://www.damianwajer.com/blog/update-tested-up-to-wordpress-plugin-svn/
# Check out a working copy from a repository
svn co http://plugins.svn.wordpress.org/[plugin-slug]/
# Bring changes from the repository into the working copy (use the command below for existing repo)
svn up
# Update "Tested up to" value with a new version number (using Vim or change `vi` to your editor of choice, e.g. `nano`)
vi trunk/readme.txt
# Copy readme.txt to the tag with the newest version of the plugin
cp trunk/readme.txt tags/[the-newest-plugin-version]
# Print the status of working copy files and directories
svn stat
# Display local changes or differences between two revisions or paths
svn diff
# Send changes from your working copy to the repository
svn ci --username=[wp-username] -m "Bump tested up to X.Y"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment