docs(release): synchronize release workflow guidance

This commit is contained in:
4gray committed 2026-07-30 08:10:33 +02:00
1 parent 6a65ee4efb
commit ec2a8137f9
10 files changed
+192 -243

No files matched your search

+6 -9
View File
@@ -1450,15 +1450,12 @@ jobs:
if [ "${IS_TAG_BUILD}" = "true" ]; then
NAME="Release v${VERSION}"
TAG="${GITHUB_REF_NAME}"
# Authored release notes: the release flow writes this
# CHANGELOG section from .changes/*.md before tagging
# (see .changes/README.md), so at tag time the changelog
# is the authored source of truth. The extractor exits
# non-zero when the section is missing, failing the
# release rather than silently shipping PR-title-only
# notes. generate_release_notes stays on below, so the
# GitHub commit list still renders under this body.
BODY="$(node tools/release/extract-changelog-section.mjs "${VERSION}")"
# The full committed CHANGELOG retains internal notes,
# while the tag release uses authored public extraction.
# An internal-only release intentionally has no authored
# public text. GitHub's generated commit list remains
# separate below.
BODY="$(node tools/release/extract-changelog-section.mjs --public "${VERSION}")"
elif [ "${EVENT_NAME}" = "pull_request" ]; then
NAME="v${VERSION} — PR #${PR_NUMBER} @ ${SHORT_SHA} [test]"
TAG="test-pr-${PR_NUMBER}"