Update release_pipeline.yml
This commit is contained in:
8
.github/workflows/release_pipeline.yml
vendored
8
.github/workflows/release_pipeline.yml
vendored
@@ -54,7 +54,7 @@ concurrency:
|
|||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash -euxo pipefail
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -321,7 +321,7 @@ jobs:
|
|||||||
{
|
{
|
||||||
echo "ERROR: Date normalization script not found in approved locations."
|
echo "ERROR: Date normalization script not found in approved locations."
|
||||||
echo "Approved locations:"
|
echo "Approved locations:"
|
||||||
printf '%s\\n' "${CANDIDATES[@]}"
|
printf '%s\n' "${CANDIDATES[@]}"
|
||||||
echo "Discovered candidates (first 5):"
|
echo "Discovered candidates (first 5):"
|
||||||
echo "${FOUND:-<none>}"
|
echo "${FOUND:-<none>}"
|
||||||
echo "Required action: add scripts/update_dates.sh (or scripts/release/update_dates.sh) to the repo."
|
echo "Required action: add scripts/update_dates.sh (or scripts/release/update_dates.sh) to the repo."
|
||||||
@@ -406,7 +406,7 @@ jobs:
|
|||||||
printf '%s"%s"' "${sep}" "${m}"
|
printf '%s"%s"' "${sep}" "${m}"
|
||||||
sep=","
|
sep=","
|
||||||
done
|
done
|
||||||
printf ']}\\n'
|
printf ']}\n'
|
||||||
echo "```"
|
echo "```"
|
||||||
echo "Required action: add missing scripts under /scripts and ensure they are executable."
|
echo "Required action: add missing scripts under /scripts and ensure they are executable."
|
||||||
} >> "${GITHUB_STEP_SUMMARY}"
|
} >> "${GITHUB_STEP_SUMMARY}"
|
||||||
@@ -516,5 +516,5 @@ jobs:
|
|||||||
|
|
||||||
echo "### Release event report (JSON)" >> "${GITHUB_STEP_SUMMARY}"
|
echo "### Release event report (JSON)" >> "${GITHUB_STEP_SUMMARY}"
|
||||||
echo "```json" >> "${GITHUB_STEP_SUMMARY}"
|
echo "```json" >> "${GITHUB_STEP_SUMMARY}"
|
||||||
printf '{"version":"%s","tag":"%s","prerelease":%s}\\n' "${VERSION}" "${TAG}" "${IS_PRERELEASE}" >> "${GITHUB_STEP_SUMMARY}"
|
printf '{"version":"%s","tag":"%s","prerelease":%s}\n' "${VERSION}" "${TAG}" "${IS_PRERELEASE}" >> "${GITHUB_STEP_SUMMARY}"
|
||||||
echo "```" >> "${GITHUB_STEP_SUMMARY}"
|
echo "```" >> "${GITHUB_STEP_SUMMARY}"
|
||||||
|
|||||||
Reference in New Issue
Block a user