-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Minor fixes to release checklist generator #6976
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
Minor fixes to release checklist generator #6976
Conversation
Signed-off-by: albertteoh <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6976 +/- ##
=======================================
Coverage 95.97% 95.97%
=======================================
Files 345 345
Lines 20377 20377
=======================================
Hits 19556 19556
Misses 618 618
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
||
if $dry_run; then | ||
echo "${issue_body}" | ||
else | ||
gh issue create --title "Prepare Jaeger Release ${new_version}" --body "$issue_body" | ||
gh issue create -R jaegertracing/jaeger --title "Prepare Jaeger Release ${new_version}" --body "$issue_body" |
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 was presented with the option of creating the issue on my fork or on jaegertracing. This should remove that additional friction.
@@ -59,12 +59,15 @@ echo "Using new version: ${new_version}" | |||
TMPFILE=$(mktemp "/tmp/DOC_RELEASE.XXXXXX") | |||
wget -O "$TMPFILE" https://raw.githubusercontent.com/jaegertracing/documentation/main/RELEASE.md | |||
|
|||
issue_body=$(python scripts/utils/formatter.py "${TMPFILE}" "${user_version_v1}" "${user_version_v2}") | |||
# Ensure the UI Release checklist is up to date. | |||
make init-submodules |
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 had a very old version of the jaeger-ui submodule, missing the BEGIN_CHECKLIST
comment.
Moreover, this ensures we pick up any changes to the Jaeger UI release process.
# Ensure the UI Release checklist is up to date. | ||
make init-submodules | ||
|
||
issue_body=$(python scripts/release/formatter.py "${TMPFILE}" "${user_version_v1}" "${user_version_v2}") |
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.
The formatter.py path had changed from utils to release.
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.
Thanks!
We need one more fix to the release/notes.py script to recognize changelog:refactoring
label that we recently started using. I'd recommend ⚙️ emoji for it.
Thanks @yurishkuro, added here: #6977 |
## Which problem is this PR solving? - Fast follow to this comment: #6976 (review) ## Checklist - [x] I have signed all commits Signed-off-by: albertteoh <[email protected]>
## Description of the changes - Discovered some small issues while running the `scripts/release/start.sh` script. ## How was this change tested? - Able to successfully create the checklist from a cold start with these fixes in place: jaegertracing#6975 ## Checklist - [x] I have signed all commits Signed-off-by: albertteoh <[email protected]>
## Which problem is this PR solving? - Fast follow to this comment: jaegertracing#6976 (review) ## Checklist - [x] I have signed all commits Signed-off-by: albertteoh <[email protected]>
## Description of the changes - Discovered some small issues while running the `scripts/release/start.sh` script. ## How was this change tested? - Able to successfully create the checklist from a cold start with these fixes in place: jaegertracing#6975 ## Checklist - [x] I have signed all commits Signed-off-by: albertteoh <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
## Which problem is this PR solving? - Fast follow to this comment: jaegertracing#6976 (review) ## Checklist - [x] I have signed all commits Signed-off-by: albertteoh <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
Description of the changes
scripts/release/start.sh
script.How was this change tested?
Checklist