From e721c9f785cb90a4cc767ac8d7933a4c6512e31e Mon Sep 17 00:00:00 2001 From: Bella Date: Sun, 26 Apr 2020 21:41:50 -0400 Subject: [PATCH] comment out webhook shit --- scripts/hook.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index 7ed3a268c..a9ba6cd4b 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -8,7 +8,7 @@ COMMIT_MSG="$TRAVIS_COMMIT_MESSAGE" if [[ "$BRANCH" == "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/kami-blue/client/commits/'${COMMIT_TRIM}') Direct: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/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/kami-blue/client/commits/'${COMMIT_TRIM}') Direct: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commit/'${TRAVIS_COMMIT}') "}]}' "$WEBHOOK" # Find the release file and rename it to kamiblue-version-commit-release.jar BUILD_DIR="$(readlink -f ./build/libs/)" @@ -16,7 +16,7 @@ if [[ "$BRANCH" == "master" ]]; then mv ${BUILD_DIR}/${JAR_DIR} ${BUILD_DIR}/kamiblue-${CUR_VER}-${COMMIT_TRIM}-release.jar JAR_DIR="$(ls "$BUILD_DIR" | grep "release")" # Upload the release file - curl -F content=@"$BUILD_DIR/$JAR_DIR" "$WEBHOOK" + #curl -F content=@"$BUILD_DIR/$JAR_DIR" "$WEBHOOK" else exit 0 -fi \ No newline at end of file +fi