Last active
June 2, 2022 20:50
-
-
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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