Skip to content

Commit 20fbcef

Browse files
committed
Fixed typo that caused build system fail
1 parent 999117e commit 20fbcef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/hook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ BUILD_DIR=$HOME/kamiblue/build/libs/
1212
JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
1313

1414
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")"
15+
# remove ' and " from changelog, as those chars do not work with discord webhooks
16+
CHANGELOG_FULL="$(echo $CHANGELOG_FULL | sed "s/['\"]//g")"
1717

1818
# delete the release in case it exists
1919
git tag -d $CUR_VER-$COMMIT_TRIM

0 commit comments

Comments
 (0)