From 6ae43a474bcae03e783fd07880872f8b94b23202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Toulet?= <35176601+AgnesToulet@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:28:18 +0200 Subject: [PATCH] Update publish_github_release.sh --- scripts/publish_github_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish_github_release.sh b/scripts/publish_github_release.sh index 660685c1..0ff2929e 100755 --- a/scripts/publish_github_release.sh +++ b/scripts/publish_github_release.sh @@ -4,7 +4,7 @@ set -e git fetch --tags -RELEASE_NOTES=$(awk 'BEGIN {FS="##"; RS=""} FNR==2 {print; exit}' CHANGELOG.md) +RELEASE_NOTES=$(awk 'BEGIN {FS="##"; RS=""} FNR==1 {print; exit}' CHANGELOG.md) VERSION=$(cat plugin.json|jq '.info.version'| sed s/\"//g) PRERELEASE='' LATEST_TAG=$(git describe --tags --abbrev=0)