mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Removed release description text, so PR text is used.
This commit is contained in:
5
.github/workflows/PublishReleaseNotes.yml
vendored
5
.github/workflows/PublishReleaseNotes.yml
vendored
@@ -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)."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user