clean up release script

thanks shellcheck.net !