Compare commits

..

No commits in common. "63c7dbbd9bf7de447569069c391ad814b57be021" and "f5b1ccee5e3226fea43a83043ffee66f43e71357" have entirely different histories.

View file

@ -129,12 +129,12 @@ jobs:
exit 1
fi
# Vérification cohérence du canal déclaré dans le titre de section.
# Vérification cohérence du canal déclaré dans le suffixe.
# Format attendu : "## [TAG] - stable" / "- preview" / "- unstable".
HEADER=$(grep -m1 "^## \[$TAG\]" CHANGELOG.md)
if [[ "$HEADER" != *" - $CHANNEL"* ]]; then
if [[ "$BODY" != *" - $CHANNEL"* ]]; then
echo "::error::Section '## [$TAG]' must declare suffix '- $CHANNEL' to match tag parity."
echo "Current section header: $HEADER"
echo "Current section body (first 5 lines):"
echo "$BODY" | head -5
exit 1
fi