pokegold-spaceworld/.github/webhook.sh
Rangi 579c4ab3fc Get rid of the baserom requirement (#159)
This should mark the disassembly as no longer a WIP.
2026-07-01 22:01:49 -04:00

14 lines
370 B
Bash
Executable File

#!/bin/sh
set -e
# Report unnamed symbols
content="$(tools/unnamed.py -r . pokegold-spaceworld-debug.sym | head)"
curl -H 'Content-Type: application/json' -X POST "$DISCORD_WEBHOOK_URL" -d@- << EOF
{
"username": "OK",
"avatar_url": "https://i.imgur.com/38BQHdd.png",
"content": "\`\`\`$(echo "$content" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')\`\`\`"
}
EOF