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

* Release: Fix issue with release script on osx

* Added shellcheck ignore rule
pull/19502/head
Torkel Ödegaard 6 years ago committed by GitHub
parent 1336147a10
commit 781b679d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile
  2. 2
      scripts/tag_release.sh

@ -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

@ -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

Loading…
Cancel
Save