Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper committed Mar 6, 2024
1 parent f8a9e60 commit 867ea60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/java-build-for-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Verify tag on branch
# Check main is one of the branches where the tagged commit exists
run: |
branches=$(git branch --contains ${{ github.ref }}) --format "%(refname:short)"
branches=($(git branch --contains ${{ github.ref }} --format "%(refname:short)"))
found=false
for b in $raw; do
if [ "$x" = "main" ]; then
for b in "${branches[@]}"; do
if [ "$b" = "main" ]; then
found=true
fi
done
Expand Down

0 comments on commit 867ea60

Please sign in to comment.