Skip to content

Commit

Permalink
fix: Bash if wants [brackets] (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz authored Dec 13, 2023
1 parent 705d32b commit 6e070b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
if git tag -l $tag; then
if [ git tag -l $tag ]; then
echo "Tag $tag already exists."
exit 1
else
Expand Down

0 comments on commit 6e070b5

Please sign in to comment.