From b31d7d769939ae9ded635fd508b52fd07f164f44 Mon Sep 17 00:00:00 2001 From: Bella Date: Mon, 27 Apr 2020 20:24:02 -0400 Subject: [PATCH] update formatting for download --- scripts/hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index 4565a77c3..9839d77d1 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -21,4 +21,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/'$CUR_VER\-$COMMIT_TRIM'/'${JAR_DIR}')\n**Changelog:** \n'"$CHANGELOG_FULL"'\nCommit: ['${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**](https://github.com/kami-blue/nightly-releases/releases/download/'$CUR_VER\-$COMMIT_TRIM'/'${JAR_DIR}')\n**Changelog:** \n'"$CHANGELOG_FULL"'\nCommit: ['${COMMIT_TRIM}'](https://github.com/kami-blue/client/commit/'${COMMIT_FULL}') "}]}' "$WEBHOOK"