mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
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:
commit
0ea30f44cf
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user