Release: Fix issue with tag script on osx (#19557)

* Release: Fix issue with release script on osx

* Added shellcheck ignore rule
This commit is contained in:
Torkel Ödegaard 2019-10-02 10:11:15 +02:00 committed by GitHub
parent 1336147a10
commit 781b679d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ lint-go: go-vet golangci-lint revive revive-alerting gosec
# with disabled SC1071 we are ignored some TCL,Expect `/usr/bin/env expect` scripts
shellcheck: $(SH_FILES)
@docker run --rm -v "$$PWD:/mnt" koalaman/shellcheck:stable \
$(SH_FILES) -e SC1071
$(SH_FILES) -e SC1071 -e SC2162
run: scripts/go/bin/bra
@scripts/go/bin/bra run

View File

@ -31,7 +31,7 @@ git tag -v "${_tag}"
echo "Make sure the tag is signed as expected"
echo "press [y] to push the tags"
read -n -r 1 confirm
read -n 1 confirm
if [ "${confirm}" == "y" ]; then
git push origin "${_branch}" --tags