diff --git a/scripts/hook.sh b/scripts/hook.sh index 6e769b442..84e1dc4e1 100755 --- a/scripts/hook.sh +++ b/scripts/hook.sh @@ -12,6 +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")" # delete the release in case it exists git tag -d $CUR_VER-$COMMIT_TRIM