dorelease.sh: add test before uploadArchives

The uploadArchives doesn't do that by default!