Strip whitespace and increase version number