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 15f5d51 commit 8ff849dCopy full SHA for 8ff849d
.github/workflows/release.yml
@@ -23,7 +23,7 @@ jobs:
23
# Given a tag, determine what branch we are on, so we can bump dependencies (or not)
24
- name: Get Branch
25
run: |
26
- BRANCHES=$(git branch -r --contains ${{ github.ref }})
+ BRANCHES=$(git branch -r --contains ${{ github.ref }} | grep -v 'HEAD')
27
echo "BRANCHES is '${BRANCHES}'"
28
# Check for no branches explicitly...Otherwise echo adds a newline so wc thinks there's
29
# one branch. And echo -n makes it appears that there's one less branch than there
0 commit comments