We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7108a76 commit b6ea53eCopy full SHA for b6ea53e
.github/workflows/publish.yml
@@ -796,12 +796,12 @@ jobs:
796
- name: Detect branch name
797
id: detect_branch
798
run: |
799
- GIT_BRANCHES=$(git branch -r --contains "${{ github.ref_name }}")
+ GIT_BRANCHES=$(git branch -r --contains ${{ github.ref_name }})
800
echo "Git contains: $GIT_BRANCHES"
801
802
BRANCH="$(echo ${GIT_BRANCHES//origin\//} | tr -d '\n')"
803
804
- if [[ -z $BRANCH ]]; then
+ if [[ -z "$BRANCH" ]]; then
805
echo "Error: Could not detect branch name. Most likely this is that commit for tag is not pushed yet."
806
exit 1
807
fi
0 commit comments