Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.AUBE_GH_TOKEN }}
TAG: ${{ needs.release-plz-release.outputs.tag }}
run: |
body="$(gh release view "$TAG" --json body --jq .body)"
if grep -Fqx '## 💚 Sponsor aube' <<<"$body"; then
echo "Release notes already include the sponsor blurb; leaving them unchanged."
exit 0
fi

{
gh release view "$TAG" --json body --jq .body
printf '%s\n' "$body"
cat <<'EOF'

## 💚 Sponsor aube
Expand Down
Loading