Commit 781b679d by Torkel Ödegaard Committed by GitHub

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

* Release: Fix issue with release script on osx

* Added shellcheck ignore rule
parent 1336147a
...@@ -115,7 +115,7 @@ lint-go: go-vet golangci-lint revive revive-alerting gosec ...@@ -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 # with disabled SC1071 we are ignored some TCL,Expect `/usr/bin/env expect` scripts
shellcheck: $(SH_FILES) shellcheck: $(SH_FILES)
@docker run --rm -v "$$PWD:/mnt" koalaman/shellcheck:stable \ @docker run --rm -v "$$PWD:/mnt" koalaman/shellcheck:stable \
$(SH_FILES) -e SC1071 $(SH_FILES) -e SC1071 -e SC2162
run: scripts/go/bin/bra run: scripts/go/bin/bra
@scripts/go/bin/bra run @scripts/go/bin/bra run
......
...@@ -31,7 +31,7 @@ git tag -v "${_tag}" ...@@ -31,7 +31,7 @@ git tag -v "${_tag}"
echo "Make sure the tag is signed as expected" echo "Make sure the tag is signed as expected"
echo "press [y] to push the tags" echo "press [y] to push the tags"
read -n -r 1 confirm read -n 1 confirm
if [ "${confirm}" == "y" ]; then if [ "${confirm}" == "y" ]; then
git push origin "${_branch}" --tags git push origin "${_branch}" --tags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment