Skip to content

Commit c01f38e

Browse files
committed
Fix check for empty tag. [ci skip]
1 parent 4dee613 commit c01f38e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/upload_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
TAG=$(git --git-dir="$SRC_DIR"/.git --work-tree="$SRC_DIR" tag --contains)
2424

2525
# If the tag is not empty, then set the label to main.
26-
if [ ! -e "$TAG" ]; then
26+
if [ ! -z "$TAG" ]; then
2727
LABEL=main
2828
fi
2929

0 commit comments

Comments
 (0)