Skip to content

Commit b6ea53e

Browse files
committed
chore: tmp
1 parent 7108a76 commit b6ea53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,12 +796,12 @@ jobs:
796796
- name: Detect branch name
797797
id: detect_branch
798798
run: |
799-
GIT_BRANCHES=$(git branch -r --contains "${{ github.ref_name }}")
799+
GIT_BRANCHES=$(git branch -r --contains ${{ github.ref_name }})
800800
echo "Git contains: $GIT_BRANCHES"
801801
802802
BRANCH="$(echo ${GIT_BRANCHES//origin\//} | tr -d '\n')"
803803
804-
if [[ -z $BRANCH ]]; then
804+
if [[ -z "$BRANCH" ]]; then
805805
echo "Error: Could not detect branch name. Most likely this is that commit for tag is not pushed yet."
806806
exit 1
807807
fi

0 commit comments

Comments
 (0)