From 20fbcefed4827e367b6ff927750b88f7fd20118d Mon Sep 17 00:00:00 2001 From: Dominika Date: Sun, 6 Sep 2020 15:20:51 -0400 Subject: [PATCH] Fixed typo that caused build system fail --- scripts/hook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hook.sh b/scripts/hook.sh index 84e1dc4e1..0be0a02d5 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -12,8 +12,8 @@ BUILD_DIR=$HOME/kamiblue/build/libs/ JAR_DIR="$(ls "$BUILD_DIR" | grep "release")" CHANGELOG_FULL="$(git log --format=%s $COMMIT_TRIM...$COMMIT_LAST | sed ':a;N;$!ba;s/\n/\\n- /g')" -# remove ' and " from changelog -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")" # delete the release in case it exists git tag -d $CUR_VER-$COMMIT_TRIM