Merge remote-tracking branch 'github/main' into fix/forgejo-release-build-no-docker
This commit is contained in:
commit
63c7dbbd9b
1 changed files with 4 additions and 4 deletions
8
.github/workflows/docker-publish-android.yml
vendored
8
.github/workflows/docker-publish-android.yml
vendored
|
|
@ -129,12 +129,12 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Vérification cohérence du canal déclaré dans le suffixe.
|
# Vérification cohérence du canal déclaré dans le titre de section.
|
||||||
# Format attendu : "## [TAG] - stable" / "- preview" / "- unstable".
|
# Format attendu : "## [TAG] - stable" / "- preview" / "- unstable".
|
||||||
if [[ "$BODY" != *" - $CHANNEL"* ]]; then
|
HEADER=$(grep -m1 "^## \[$TAG\]" CHANGELOG.md)
|
||||||
|
if [[ "$HEADER" != *" - $CHANNEL"* ]]; then
|
||||||
echo "::error::Section '## [$TAG]' must declare suffix '- $CHANNEL' to match tag parity."
|
echo "::error::Section '## [$TAG]' must declare suffix '- $CHANNEL' to match tag parity."
|
||||||
echo "Current section body (first 5 lines):"
|
echo "Current section header: $HEADER"
|
||||||
echo "$BODY" | head -5
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue