Skip to content

Commit

Permalink
shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
thbkrkr committed Apr 24, 2023
1 parent cf6a71d commit 3f089cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/release-notes/check-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ count-release-notes-pr-without-merged-commit() {
local prevVersion=$2
local grepOpts=${3:-}
diff \
<(list-merged-commits "$nextVersion" "$prevVersion" | tee A) \
<(list-release-notes-pr-commits "$nextVersion" | tee B) \
<(list-merged-commits "$nextVersion" "$prevVersion") \
<(list-release-notes-pr-commits "$nextVersion") \
| grep $grepOpts '>'
}

Expand All @@ -51,7 +51,7 @@ main() {
echo "✅ LGTM"
else
echo "❌ Error: no commit found for the following issues:"
count-release-notes-pr-without-merged-commit $nextVersion $prevVersion
count-release-notes-pr-without-merged-commit "$nextVersion" "$prevVersion"
fi
}

Expand Down

0 comments on commit 3f089cc

Please sign in to comment.