version.sh: try to get the version from release/* tags first