fix release.sh to fail properly