Fix upload version script.