Fixed version.sh, which seemed to forget how to do per-branch numbering