-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: seperate line output when a release is missing changelog #1302
base: main
Are you sure you want to change the base?
Conversation
It was annoying as PRs that needed changelog entries were being displayed without line breaks so it was difficult to parse. Signed-off-by: crozzy <[email protected]>
@hdonnay I suspect you might have some better bash jiu jitsu |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1302 +/- ##
==========================================
+ Coverage 55.77% 55.78% +0.01%
==========================================
Files 265 265
Lines 16557 16557
==========================================
+ Hits 9235 9237 +2
+ Misses 6362 6361 -1
+ Partials 960 959 -1 ☔ View full report in Codecov by Sentry. |
@@ -20,7 +20,7 @@ done | |||
shift $((OPTIND - 1)) | |||
VERSION="${1:?need a version argument}" | |||
VERSION="v${VERSION#v}" | |||
|
|||
IFS= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest something like:
gh search prs --state closed --merged --label=needs-changelog --json=title,url | jq -r '.[] | (.url | @text) + " - " + (.title | @text)' > /tmp/prs
if [ -s /tmp/prs ]; then
echo "There are still PRs that need changelog entries"
cat /tmp/prs
exit 1
fi
Want me to push this over the finish line? |
Sure, sorry only just seen this |
It was annoying as PRs that needed changelog entries were being displayed without line breaks so it was difficult to parse.