Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chen08209 committed Oct 11, 2024
1 parent c74a23c commit 38a2c90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
else
tag=""
fi
if [ -n "$lastTag" ] && [ "$(echo -e "$previous\n$lastTag" | sort -V | head -n 1)" == "$previous" ]; then
break
if [ -n "$previous" ]; then
if [ "$(echo -e "$previous\n$lastTag" | sort -V | head -n 1)" == "$previous" ]; then
break
fi
fi
if [ -n "$previous" ]; then
echo "## $previous" >> NEW_CHANGELOG.md
Expand Down

0 comments on commit 38a2c90

Please sign in to comment.