-
Notifications
You must be signed in to change notification settings - Fork 101
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
Bash script to auto-generate release notes. #112
Bash script to auto-generate release notes. #112
Conversation
auto_release.sh
Outdated
|
||
get_latest_tag() { | ||
curl -s $API_RELEASES_URL"/latest" | python3 -c \ | ||
"import sys, json; print(json.load(sys.stdin)['tag_name'])" 2>/dev/null |
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.
Because this is a bash script, it might be cleaner to use the jq
tool here instead of inlining python.
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 know, but I wasn't sure if it's fine to include an additional dependency in this PR. Python will definitely be installed in the development system, since this is a python client but jq may not be available.
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.
Yeah, that's fair.
Co-Authored-By: shivanshs9 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
=======================================
Coverage 91.46% 91.46%
=======================================
Files 6 6
Lines 293 293
=======================================
Hits 268 268
Misses 25 25 Continue to review full report at Codecov.
|
Hello @shivanshs9, |
Yep, filled it. Thanks! It feels nice to help the developers, who made sendgrid possible for us! |
Closes #108
Checklist
Short description of what this PR does:
./auto-release.sh -h
to display help message.