From 862460a80e881df9d4e9bbf8f0b772f128339228 Mon Sep 17 00:00:00 2001 From: Bella Who Date: Mon, 30 Mar 2020 13:14:53 +0000 Subject: [PATCH] update embed details --- scripts/hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index a14cd47a..d21cf562 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -7,7 +7,7 @@ COMMIT_MSG="$TRAVIS_COMMIT_MESSAGE" if [[ "$BRANCH" == "feature/master" ]]; then # Send message with branch name - curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "","color": 10195199,"description": "**Changelog:** '"$COMMIT_MSG"'\nBranch: `'"$BRANCH"'`\nCommit: ['${COMMIT_TRIM}'](https://github.com/S-B99/kamiblue/commits/'${COMMIT_TRIM}') Full: ['${COMMIT_TRIM}'-](https://github.com/S-B99/kamiblue/commit/'${TRAVIS_COMMIT}') "}]}' "$WEBHOOK" + curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "","color": 10195199,"description": "**Changelog:** '"$COMMIT_MSG"'\nBranch: `'"$BRANCH"'`\nCommit: ['${COMMIT_TRIM}'](https://github.com/S-B99/kamiblue/commits/'${COMMIT_TRIM}') Direct: ['${COMMIT_TRIM}'](https://github.com/S-B99/kamiblue/commit/'${TRAVIS_COMMIT}') "}]}' "$WEBHOOK" # Upload the release file BUILD_DIR="$(readlink -f ./build/libs/)"