Skip to content

Commit 24046ef

Browse files
committed
fix ci
1 parent 3526902 commit 24046ef

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

scripts/install-protoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ os() {
1515
"Linux")
1616
echo "linux"
1717
;;
18+
*)
19+
echo "linux"
20+
;;
1821
esac
1922
}
2023

@@ -47,7 +50,7 @@ if [[ ${VERSION} == "" ]]; then
4750
VERSION="$(get_protoc_latest_version)"
4851
fi
4952

50-
VERSION="$(echo "${VERSION}" | sed 's/^v//g')"
53+
VERSION="${VERSION#v}" # remove v prefix if exists
5154

5255
if [[ ${DESTINATION_DIR} == "" ]]; then
5356
echo "missing destination argument"

scripts/tools.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,6 @@ shellcheck: $(TOOLS_BIN)/shellcheck
202202
--norc \
203203
--external-sources \
204204
--format=tty \
205+
--severity=info \
205206
--enable=require-variable-braces,add-default-case
206207
## </shellcheck>

0 commit comments

Comments
 (0)