Removed release description text, so PR text is used.

This commit is contained in:
Patrick Lehmann
2025-04-26 21:29:50 +02:00
parent 3f7b0c221b
commit 7a57747fcd
6 changed files with 10 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ on:
description:
description: 'Multi-line description of the release.'
required: false
default: 'Release of artifacts from latest CI pipeline.'
default: ''
type: string
description_file:
description: 'Description of the release from a Markdown file.'
@@ -275,6 +275,9 @@ jobs:
elif [[ -s __PULLREQUEST__.md ]]; then
printf "Use '__PULLREQUEST__.md' as main release description.\n"
mv -v __PULLREQUEST__.md __NOTES__.md
printf "Append '%%FOOTER%%' to '__NOTES__.md'.\n"
printf "\n%%FOOTER%%\n" >> __NOTES__.md
else
printf "${ANSI_LIGHT_RED}No release description specified (file, parameter, PR text).${ANSI_NOCOLOR}\n"
printf "::error title=%s::%s\n" "MissingDescription" "No release description specified (file, parameter, PR text)."

View File

@@ -15,5 +15,5 @@ sphinxcontrib-mermaid ~= 1.0
autoapi >= 2.0.1
sphinx_design ~= 0.6.1
sphinx-copybutton >= 0.5.2
sphinx_autodoc_typehints ~= 3.1
sphinx_autodoc_typehints ~= 3.2
sphinx_reports ~= 0.9