test-release.sh: Add support for dot releases