More script error fixes (#8820)

This commit is contained in:
Jukka Kurkela 2021-04-04 16:26:41 +03:00
parent 3915cb00e9
commit 954fc3ccf5
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ cd $TARGET_DIR
git checkout $TARGET_BRANCH git checkout $TARGET_BRANCH
# https://www.chartjs.org/dist/$VERSION # https://www.chartjs.org/dist/$VERSION
if [["$VERSION" != "$TAG"]] then if [["$VERSION" != "$TAG"]]; then
deploy_versioned_files $VERSION deploy_versioned_files $VERSION
fi fi

View File

@ -11,7 +11,7 @@ function tag_from_version {
if [ "$version" == "master" ]; then if [ "$version" == "master" ]; then
tag=master tag=master
elif [[ "$version" =~ ^[^-]+$ ]]; then elif [[ "$version" =~ ^[^-]+$ ]]; then
if [[ "$mode" == "release" ]] if [[ "$mode" == "release" ]]; then
tag=$version tag=$version
else else
tag=latest tag=latest