From 868019329ab35e4c7d619665022cfe6cb6e5fb48 Mon Sep 17 00:00:00 2001 From: Bella Date: Mon, 27 Apr 2020 19:36:06 -0400 Subject: [PATCH] fix download link formatting --- scripts/hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index 7c56b9523..4a8447fec 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -19,4 +19,4 @@ source ~/.profile ./github-release-linux-amd64 $CUR_VER-$COMMIT_TRIM $BUILD_DIR/$JAR_DIR --github-access-token $GITHUB_RELEASE_ACCESS_TOKEN --github-repository $GITHUB_RELEASE_REPOSITORY # Send message with commit information -curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "Download '$CUR_VER\-$COMMIT_TRIM'","color": 10195199,"description": "**Download:** ['${CUR_VER}\-${COMMIT_TRIM}'](https://github.com/kami-blue/nightly-releases/releases/download/'${COMMIT_TRIM}'/'${JAR_DIR}')\n**Changelog:** '"$COMMIT_MSG"'\nCommit: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commits/'${COMMIT_TRIM}') Direct: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commit/'${COMMIT_FULL}') "}]}' "$WEBHOOK" +curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "Download '$CUR_VER\-$COMMIT_TRIM'","color": 10195199,"description": "**Download:** ['${CUR_VER}\-${COMMIT_TRIM}'](https://github.com/kami-blue/nightly-releases/releases/download/'$CUR_VER\-$COMMIT_TRIM'/'${JAR_DIR}')\n**Changelog:** '"$COMMIT_MSG"'\nCommit: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commits/'${COMMIT_TRIM}') Direct: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commit/'${COMMIT_FULL}') "}]}' "$WEBHOOK"