Skip to content

Commit

Permalink
Fix check for empty tag. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Mar 23, 2022
1 parent 4dee613 commit c01f38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/upload_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c01f38e

Please sign in to comment.