Fix release.sh

Closes #613