From 954fc3ccf54d4e8cfa7cc091e8d8c083020ed477 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Sun, 4 Apr 2021 16:26:41 +0300 Subject: [PATCH] More script error fixes (#8820) --- scripts/deploy-docs.sh | 2 +- scripts/utils.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh index fa2c78dfc..b637a0fa6 100755 --- a/scripts/deploy-docs.sh +++ b/scripts/deploy-docs.sh @@ -46,7 +46,7 @@ cd $TARGET_DIR git checkout $TARGET_BRANCH # https://www.chartjs.org/dist/$VERSION -if [["$VERSION" != "$TAG"]] then +if [["$VERSION" != "$TAG"]]; then deploy_versioned_files $VERSION fi diff --git a/scripts/utils.sh b/scripts/utils.sh index 1cc8fcb30..d3b6d4624 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -11,7 +11,7 @@ function tag_from_version { if [ "$version" == "master" ]; then tag=master elif [[ "$version" =~ ^[^-]+$ ]]; then - if [[ "$mode" == "release" ]] + if [[ "$mode" == "release" ]]; then tag=$version else tag=latest -- 2.39.5