exit prepublish script if tag not found

The prepublish script does include the `set -e` directive (fail on first error), but the nesting of the `$(git ...)` subshell prevented the error from propagating as desired. Removing the nesting fixes this problem, and will prevent publication of releases with no changelog in future.