mirror of
https://github.com/grafana/grafana.git
synced 2025-09-20 00:00:43 +08:00
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:
2
Makefile
2
Makefile
@ -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}"
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user