Merge pull request #9076 from jodh-intel/add-survey-link-to-release-notes

packaging: release notes: Don't show shortlist by default, and add survey link
This commit is contained in:
James O. D. Hunt 2024-02-26 10:25:19 +00:00 committed by GitHub
commit 0ea30f44cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,9 +75,19 @@ changes() {
echo "**FIXME - message this section by hand to produce a summary please**"
echo "### Shortlog"
echo "<details>"
echo "<summary>Click the icon to show the list of commits included in this release</summary>"
# XXX: Essential to have at least one blank line here. It forces
# GitHub to show each commit on a separate line.
echo
for cr in $(git log --merges "${previous_release}".."${new_release}" | grep 'Merge:' | awk '{print $2".."$3}'); do
git log --oneline "$cr"
done
echo "</details>"
}
print_release_notes() {
@ -94,6 +104,17 @@ EOF
## ${repo} Changes
$(changes)
## Survey
Please take the Kata Containers survey:
- https://openinfrafoundation.formstack.com/forms/kata_containers_user_survey
This will help the Kata Containers community understand:
- how you use Kata Containers
- what features and improvements you would like to see in Kata Containers
EOF
popd >>/dev/null
rm -rf "${tmp_dir}/${repo}"