mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Fixed wrong file used for updating the release notes.
This commit is contained in:
8
.github/workflows/PublishReleaseNotes.yml
vendored
8
.github/workflows/PublishReleaseNotes.yml
vendored
@@ -880,11 +880,11 @@ jobs:
|
||||
|
||||
export GH_TOKEN=${{ github.token }}
|
||||
|
||||
if [[ -s __ASSETS__.md ]]; then
|
||||
addNotes=("--notes-file" "__ASSETS__.md")
|
||||
if [[ -s __NOTES__.md ]]; then
|
||||
addNotes=("--notes-file" "__NOTES__.md")
|
||||
else
|
||||
printf " ${ANSI_LIGHT_RED}File '%s' not found.${ANSI_NOCOLOR}\n" "__ASSETS__.md"
|
||||
printf "::error title=%s::%s\n" "InternalError" "File '__ASSETS__.md' not found."
|
||||
printf " ${ANSI_LIGHT_RED}File '%s' not found.${ANSI_NOCOLOR}\n" "__NOTES__.md"
|
||||
printf "::error title=%s::%s\n" "InternalError" "File '__NOTES__.md' not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user