Skip to content

Commit

Permalink
🔧 ci: Update release.yaml --no-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jyje committed Apr 20, 2024
1 parent 779fc46 commit 4a45e9d
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 @@ -17,7 +17,7 @@ jobs:
- name: Check if the current tag is in the main branch
id: check_branch
run: |
if git branch --contains ${{ github.ref }} | grep -q "main"; then
if git branch --contains tags/${{ github.ref_name }} | grep -q "main"; then
echo "is_valid_branch=true" >> $GITHUB_OUTPUT
else
echo "is_valid_branch=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 4a45e9d

Please sign in to comment.