We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999117e commit 20fbcefCopy full SHA for 20fbcef
1 file changed
scripts/hook.sh
@@ -12,8 +12,8 @@ BUILD_DIR=$HOME/kamiblue/build/libs/
12
JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
13
14
CHANGELOG_FULL="$(git log --format=%s $COMMIT_TRIM...$COMMIT_LAST | sed ':a;N;$!ba;s/\n/\\n- /g')"
15
-# remove ' and " from changelog
16
-CHANGELOG_FULL="$(echo CHANGELOG_FULL | sed "s/['\"]//g")"
+# remove ' and " from changelog, as those chars do not work with discord webhooks
+CHANGELOG_FULL="$(echo $CHANGELOG_FULL | sed "s/['\"]//g")"
17
18
# delete the release in case it exists
19
git tag -d $CUR_VER-$COMMIT_TRIM
0 commit comments