WordPress upgrade script

#Upgrades your version of wordpress
#Only arg is new version like ’2.3.1′
#Ex: upgrade_wordpress_version_to 2.3.2
#Note: you must be tracking wordpress using subversion to upgrade this way.
#Just a wrapper for a svn repository root switch and update… I
#don’t want to have to look up the URL each time.
#Author: RJ Herrick
#08.02.01 RJ Initial release

if [ $1 = '' ] ;
then
echo "Usage: $0 version.number.here"
exit
else
svn sw "http://svn.automattic.com/wordpress/tags/${1}/"
fi

Leave a Comment

Name (required)

Mail (will not be published) (required)

Website

Comment