From 104285160a27d7143e3947209be1c2a80ad09c27 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Sat, 27 Nov 2021 15:22:55 +0000 Subject: [PATCH 1/2] Fix release creation script --- Scripts/release_changelog.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/release_changelog.sh b/Scripts/release_changelog.sh index 6328f09e..50e38ca1 100755 --- a/Scripts/release_changelog.sh +++ b/Scripts/release_changelog.sh @@ -2,4 +2,6 @@ TEXT=`cat CHANGELOG.md| sed -n "/##\ $VERSION/,/##/p"` TEXT=`echo "$TEXT" | sed '1d;$d'` -gh release create $VERSION -m "$TEXT" \ No newline at end of file +echo "gh release create $VERSION -n \"## What's Changed\r\n$TEXT\"" + +gh release create $VERSION -n "$TEXT" \ No newline at end of file From 6bdd4a274b98f8b6adac8556bb4c4b1630ea2824 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Sat, 27 Nov 2021 15:23:42 +0000 Subject: [PATCH 2/2] Remove echo --- Scripts/release_changelog.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Scripts/release_changelog.sh b/Scripts/release_changelog.sh index 50e38ca1..f262680a 100755 --- a/Scripts/release_changelog.sh +++ b/Scripts/release_changelog.sh @@ -2,6 +2,4 @@ TEXT=`cat CHANGELOG.md| sed -n "/##\ $VERSION/,/##/p"` TEXT=`echo "$TEXT" | sed '1d;$d'` -echo "gh release create $VERSION -n \"## What's Changed\r\n$TEXT\"" - -gh release create $VERSION -n "$TEXT" \ No newline at end of file +gh release create $VERSION -n "$TEXT"