If you’re using Wordpress 2.7.1 and want to upgrade using Tools > Upgrade all you have to do is open /wp-includes/version.php and change the version number from
2.8. Then run Tools > Upgrade. The latest development version will be installed when you upgrade.
Note, before upgrading it’s usually a good idea to backup your files and database. Development versions of Wordpress may have problems.