Skip to content

Commit 9577801

Browse files
committed
Discord announcement formatted
1 parent 38690bc commit 9577801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/announce.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
# Construct JSON with jq, preserving literal line breaks
2929
PAYLOAD=$(jq -Rn --arg tag "$TAG" --arg repo "$GITHUB_REPOSITORY" --arg notes "$NOTES" \
30-
'{content: ("📦 **New fetch-kit Release: \($tag)**\nRepository: \($repo)\n```\n\($notes)\n```")}')
30+
'{content: ("**New fetch-kit Release**\nRepository: \($repo) - version: \($tag)\n```\n\($notes)\n```")}')
3131
3232
# Send to Discord webhook
3333
curl -sS -H "Content-Type: application/json" -X POST -d "$PAYLOAD" ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)