mirror of https://github.com/kami-blue/client
remove safecrystal from hook
This commit is contained in:
parent
9825bb85cf
commit
d682c6a293
|
@ -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")"
|
||||
|
|
Loading…
Reference in New Issue