From c01f38e59a98462c36600441b2210380f17d7e09 Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Wed, 23 Mar 2022 20:56:50 +0000 Subject: [PATCH] Fix check for empty tag. [ci skip] --- actions/upload_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/upload_package.sh b/actions/upload_package.sh index 5e90ab4e3..621e337e7 100755 --- a/actions/upload_package.sh +++ b/actions/upload_package.sh @@ -23,7 +23,7 @@ fi TAG=$(git --git-dir="$SRC_DIR"/.git --work-tree="$SRC_DIR" tag --contains) # If the tag is not empty, then set the label to main. -if [ ! -e "$TAG" ]; then +if [ ! -z "$TAG" ]; then LABEL=main fi