Skip to content

Commit

Permalink
Fix: Fix typo in if-condition
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam authored and greenbonebot committed Jan 19, 2024
1 parent 58d6445 commit e75349b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion is-latest-tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
latest_major=$(echo $latest_major | cut -c2-)
tag_major=$(echo $tag_major | cut -c2-)
if [[ $tag_major -gt $latest_major ]];
if [[ $tag_major -gt $latest_major ]]; then
echo "is-latest-tag=true" >> $GITHUB_OUTPUT
elif [[ $tag_major -eq $latest_major && $tag_minor -gt $latest_minor ]]; then
echo "is-latest-tag=true" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit e75349b

Please sign in to comment.