From 7779c590e09d2c14b8cb31156db2d29ea1bdd656 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Sat, 11 Dec 2021 15:45:56 +0000 Subject: [PATCH] Remove empty [] when creating the release --- Scripts/release_changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/release_changelog.sh b/Scripts/release_changelog.sh index 50e38ca1..1d461c1a 100755 --- a/Scripts/release_changelog.sh +++ b/Scripts/release_changelog.sh @@ -1,6 +1,6 @@ TEXT=`cat CHANGELOG.md| sed -n "/##\ $VERSION/,/##/p"` -TEXT=`echo "$TEXT" | sed '1d;$d'` +TEXT=`echo "$TEXT" | sed '1d;$d' | sed 's/\[\]//g'` echo "gh release create $VERSION -n \"## What's Changed\r\n$TEXT\""