Skip to content

Commit

Permalink
πŸ”€ Merge pull request #9 from jyje/develop
Browse files Browse the repository at this point in the history
πŸ”§ ci: Update release.yaml --no-ci
  • Loading branch information
jyje authored Apr 20, 2024
2 parents 2217000 + 4a45e9d commit 9425ebf
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 9425ebf

Please sign in to comment.