From d682c6a2936f6d19e25519c007088942eeab639b Mon Sep 17 00:00:00 2001 From: Bella Date: Sun, 29 Mar 2020 18:37:22 -0400 Subject: [PATCH] remove safecrystal from hook --- scripts/hook.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index 5363864d5..a14cd47a6 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -9,14 +9,6 @@ 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" - # Upload the release file - BUILD_DIR="$(readlink -f ./build/libs/)" - JAR_DIR="$(ls "$BUILD_DIR" | grep "release")" - curl -F content=@"$BUILD_DIR/$JAR_DIR" "$WEBHOOK" -elif [[ "$BRANCH" == "feature/safecrystal#480" ]]; 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" - # Upload the release file BUILD_DIR="$(readlink -f ./build/libs/)" JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"