Skip to content

Commit

Permalink
ci: adjust branch detection (#2651)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3e70827)
  • Loading branch information
chillleader committed May 24, 2024
1 parent cec3a89 commit 261ce2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/RELEASE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Determine release branch name
id: determine_release_branch
run: |
releaseBranch=$( git branch --contains ${RELEASE_VERSION} --format='%(refname:short)' )
releaseBranch=$( git branch --contains ${RELEASE_VERSION} --format='%(refname:short)' | tail -1 )
git checkout "$releaseBranch"
echo "releaseBranch=$releaseBranch" >> $GITHUB_OUTPUT
env:
Expand Down

0 comments on commit 261ce2b

Please sign in to comment.