Update Rakefile to do patch, minor, and major releases