Set the release version based on the number of commits since the last tag.