mirror of
https://github.com/pret/pokegold.git
synced 2026-09-12 02:25:39 -05:00
Remove the Discord webhook since unnamed.py reports 100.00% complete
This commit is contained in:
@@ -24,7 +24,6 @@ script:
|
||||
after_success:
|
||||
- |-
|
||||
if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_OS_NAME" = linux ]; then
|
||||
./.travis/webhook.sh
|
||||
if [ -n "$GITHUB_API_KEY" ]; then
|
||||
./.travis/upload_symbols.sh
|
||||
fi
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
root="$(readlink -e "$(dirname "$0")/..")"
|
||||
|
||||
# Report unnamed symbols
|
||||
content="$("$root/tools/unnamed.py" "$root/pokegold.sym" | head -n 20)"
|
||||
|
||||
curl -H 'Content-Type: application/json' -X POST "$POKEGOLD_DISCORD_WEBHOOK_URL" -d@- << EOF
|
||||
{
|
||||
"username": "$POKEGOLD_DISCORD_WEBHOOK_USERNAME",
|
||||
"avatar_url": "$POKEGOLD_DISCORD_WEBHOOK_AVATAR_URL",
|
||||
"content": "\`\`\`$(echo "$content" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')\`\`\`"
|
||||
}
|
||||
EOF
|
||||
Reference in New Issue
Block a user