Skip to content

Commit 53c0f97

Browse files
committed
Change the alias name.
1 parent 3e8b552 commit 53c0f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/docker/hive/download-release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ FILE=$2 # the name of your release asset file, e.g. bui
3333
VERSION=$1 # tag name or the word "latest"
3434
GITHUB="https://api.github.com"
3535

36-
alias errcho='>&2 echo'
36+
alias err_echo='>&2 echo'
3737

3838
function gh_curl() {
3939
curl -H "Authorization: token $TOKEN" \
@@ -50,7 +50,7 @@ fi;
5050

5151
asset_id=`gh_curl -s $GITHUB/repos/$REPO/releases | jq "$parser"`
5252
if [ "$asset_id" = "null" ]; then
53-
errcho "ERROR: version not found $VERSION"
53+
err_echo "ERROR: version not found $VERSION"
5454
exit 1
5555
fi;
5656

0 commit comments

Comments
 (0)