Merge pull request #4622 from reasonerjt/tag-release-fail

Make sure the tag-release script fail on any error
pull/4641/head
Wenkai Yin(尹文开) 2022-02-14 13:58:36 +08:00 committed by GitHub
commit 69588011a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@
# This script is meant to be a combination of documentation and executable.
# If you have questions at any point, please stop and ask!
# Fail on any error.
set -eo pipefail
# Directory in which the script itself resides, so we can use it for calling programs that are in the same directory.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"