Merge pull request #4644 from ssbarnea/fix/hack-release

Improve hack/get_release_info.sh
This commit is contained in:
OpenShift Merge Robot 2019-12-05 00:31:45 -08:00 committed by GitHub
commit bc40282aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@
# a script allows uniform behavior across multiple environments and
# distributions. The script expects a single argument, as reflected below.
set -e
set -euo pipefail
cd "${GOSRC:-$(dirname $0)/../}"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "${GOSRC:-${DIR}/../}"
valid_args() {
REGEX='^\s+[[:upper:]]+\*[)]'